Add ability converting mime type to extension to file.mime_type.guesser.extension service.
Replace field_info_instance by loading field_config entity.
Fix default upload plugin does not have class property.
Convert file to entity.
Replace variable_get by Settings:get