check file type