pipe and readStream from a file