add file infos in file header