reset the line count for each file to read