normalize file formatting