Fix a bug on including filetype settings function.