use readStream instead of readFile