In files.py read a big file in buffered I/O chunks, not line by line.