reformat csv file for easier reading