takes flat file of crappy format, turns it into somewhat usable format.