reformat file according to guidelines