def METHOD_NAME(self, task, actionables):
    uid = task['uid']
    src_context = {'pwd'      : task['task_sandbox'],       # !!!
                   'client'   : task['client_sandbox'],
                   'task'     : task['task_sandbox'],
                   'pilot'    : task['pilot_sandbox'],
                   'session'  : task['session_sandbox'],
                   'resource' : task['resource_sandbox'],
                   'endpoint' : task['endpoint_fs']}
    tgt_context = {'pwd'      : os.getcwd(),                # !!!
                   'client'   : task['client_sandbox'],
                   'task'     : task['task_sandbox'],
                   'pilot'    : task['pilot_sandbox'],
                   'session'  : task['session_sandbox'],
                   'resource' : task['resource_sandbox'],
                   'endpoint' : task['endpoint_fs']}
    # url used for cache (sandbox url w/o path)
    tmp      = rs.Url(task["task_sandbox"])
    tmp.path = '/'
    key      = str(tmp)
    if key not in self._cache:
        self._cache[key] = rs.filesystem.Directory(tmp,
                session=self._session)
    saga_dir = self._cache[key]
    # Loop over all transfer directives and execute them.
    for sd in actionables:
      # action = sd['action']
        flags  = sd['flags']
        did    = sd['uid']
        src    = sd['source']
        tgt    = sd['target']
        self._prof.prof('staging_out_start', uid=uid, msg=did)
        self._log.debug('src: %s', src)
        self._log.debug('tgt: %s', tgt)
        src = rpsd.complete_url(src, src_context, self._log)
        tgt = rpsd.complete_url(tgt, tgt_context, self._log)
        self._log.debug('src: %s', src)
        self._log.debug('tgt: %s', tgt)
        # Check if the src is a folder, if true
        # add recursive flag if not already specified
        if saga_dir.is_dir(src.path):
            flags |= rs.filesystem.RECURSIVE
        # Always set CREATE_PARENTS
        flags |= rs.filesystem.CREATE_PARENTS
        self._log.debug('deed: %s: %s -> %s [%s]', saga_dir.url, src, tgt, flags)
        saga_dir.copy(src, tgt, flags=flags)
        self._prof.prof('staging_out_stop', uid=uid, msg=did)
    # all staging is done -- at this point the task is final
    task['state'] = task['target_state']
    self.advance(task, publish=True, push=True)