Define extracting a MIME type