Reformat entire file