Normalize file