implement the split of file.h and mod_format.h