Is this function a public function? I only saw you use it in ensureFilenameMatchesType, and you already have _parseExtension that looks like a private function, just want to make sure if you are planning to use this function outside MimeMapper in the future.