Return the data for path

    :param file_: the file that holds the data
    :type file_: :class:`jukeboxcore.djadapter.models.File`
    :param role: item data role
    :type role: QtCore.Qt.ItemDataRole
    :returns: data for the path
    :rtype: depending on role
    :raises: None

def taskfile_path_data(file_, role):
    """Return the data for path

    :param file_: the file that holds the data
    :type file_: :class:`jukeboxcore.djadapter.models.File`
    :param role: item data role
    :type role: QtCore.Qt.ItemDataRole
    :returns: data for the path
    :rtype: depending on role
    :raises: None
    """
    if role == QtCore.Qt.DisplayRole or role == QtCore.Qt.EditRole:
        return file_.path