Clean up formatting in file