Added new method used to reorder data in file and re-orgranize it as such.