Caching file lines