def METHOD_NAME(self, path, root_config=None, anatomy=None):
    """
        Replaces all root placeholders with proper values
        Args:
            path(string): root[work]/folder...
            root_config (dict): {'work': "c:/..."...}
            anatomy (Anatomy): object of Anatomy
        Returns:
            (string): proper url
    """
    if not root_config:
        root_config = self.get_roots_config(anatomy)
    if root_config and not root_config.get("root"):
        root_config = {"root": root_config}
    try:
        if not root_config:
            raise KeyError
        path = path.format(**root_config)
    except KeyError:
        try:
            path = anatomy.fill_root(path)
        except KeyError:
            msg = "Error in resolving local root from anatomy"
            self.log.error(msg)
            raise ValueError(msg)
    except IndexError:
        msg = "Path {} contains unfillable placeholder"
        self.log.error(msg)
        raise ValueError(msg)
    return path