Use literal extension for mimetype validating