clean up of file headers