Properly reads in lines, stored in a vector.