Change file structure to read in data