header issue when remapping files