modify the file header