normalize file headers