now getting the fields out of the file