Added estimated line count based on file byte size (made sure to be generous) sped up program by a couple seconds on a 150mb test file, 50% on current test file.