add some infomation into newfile