reformat file for shorter lines