@classmethod
def url_for(cls, path):
    """Given path of a file uploaded on depot returns the url that serves it

        Path is expected to be ``storage_name/fileid``.
        """
    mw = cls.get_middleware()
    return mw.url_for(path)
