Reorganize file type macro in include/file.h