revert unintended deletion of the file header