remove log and reformat file