LUCENE-4956: Don't load full files into big List<>, instead process them line by line (the current code uses iterator anyway).