def obj_name(value, arg):
    """
        Returns object name from an absolute path seperated by provided 'arg'.

        e.g.
            For a path seperated by '/' like '/pa/th/to/file.ext' it returns 'file.ext'.
    """

    return value.split(arg)[-1]