modified the File2Hfile