def taskfile_user_data(file_, role):
    """Return the data for user

    :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 user
    :rtype: depending on role
    :raises: None
    """
    if role == QtCore.Qt.DisplayRole or role == QtCore.Qt.EditRole:
        return file_.user.username
Return the data for user

    :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 user
    :rtype: depending on role
    :raises: None