reformat file nicely