reads from stdin, writes to stdout and bufferes the data
