Use streams for reading files.