Another clean up

Checking the length of the data read in. Shows I'm reading in the
correct number of lines