normalize file