Check file type for COntent