This is consistent with LocalFirehoseFactory. See LineIterator, which does the same thing in the 'cachedLine' variable. Is there a better way to know if a file has another line left?