added filetype stuff