Auto set filetype for *.flex files.