downloaded file mime type check