code: def _recoverfile_from_lockfile(self, lockfile):
          
          # Require that the lock file path be absolute, or at least relative
          # and starting with the pipeline output folder.
          if not (os.path.isabs(lockfile) or lockfile.startswith(self.outfolder)):
              lockfile = self._make_lock_path(lockfile)
          return lockfile.replace(LOCK_PREFIX, "recover." + LOCK_PREFIX)
docs: Create path to recovery file with given name as base.
          
          :param str lockfile: Name of file on which to base this path, 
              perhaps already prefixed with the designation of a lock file.
          :return str: Path to recovery file.