insert header corrected, existing files are overwrite