'Returns the absolute path for the given path.'

@classmethod
def relpath(cls, path):

    current_path = cls.current_dir()
    absolute_path = cls.abspath(path)
    return re.sub(('^' + re.escape(current_path)), '', absolute_path).lstrip('/')
