add the file type generater