[BUG] last chunk must account for remaining lines in file.