code: def set_taskfileinfo(self, tfi):
          
          self._taskfileinfo = tfi
          if tfi:
              self.set_element(tfi.task.element)
docs: Set the :class:`jukeboxcore.filesys.TaskFileInfo` that the refobject represents.
  
          :param tfi: the taskfileinfo for the refobject or None if nothing is loaded.
          :type tfi: :class:`jukeboxcore.filesys.TaskFileInfo` | None
          :returns: None
          :rtype: None
          :raises: None