I think this method would not need particular customizations for each provider type.
Probably we should move it to the main `MediaStorage` class.