code: def get_taskfile(self, refobj):
          
          tfid = cmds.getAttr("%s.taskfile_id" % refobj)
          try:
              return djadapter.taskfiles.get(pk=tfid)
          except djadapter.models.TaskFile.DoesNotExist:
              raise djadapter.models.TaskFile.DoesNotExist("Could not find the taskfile that was set on the node %s. Id was %s" % (refobj, tfid))
docs: Return the taskfile that is loaded and represented by the refobj
  
          :param refobj: the reftrack node to query
          :type refobj: str
          :returns: The taskfile that is loaded in the scene
          :rtype: :class:`jukeboxcore.djadapter.TaskFile`
          :raises: None