remove duplicated filetype test