'Convert an absolute path to a canonical name relative to :attr:`root`
:param root: The base directory. By default the root for this container object is used.'

def abspath_to_name(self, fullpath, root=None):

    return unicodedata.normalize(u'NFC', abspath_to_name(fullpath, (root or self.root)))
