Read in flat file and convert