code: def get_files_from_filestore(job, files, work_dir, docker=False):
      
      for name in files.keys():
          outfile = job.fileStore.readGlobalFile(files[name], '/'.join([work_dir, name]))
          # If the files will be sent to docker, we will mount work_dir to the container as /data and
          # we want the /data prefixed path to the file
          if docker:
              files[name] = docker_path(outfile)
          else:
              files[name] = outfile
      return files
docs: Download a dict of files to the given directory and modify the path to a docker-friendly one if
      requested.
  
      :param dict files: A dictionary of filenames: fsIDs
      :param str work_dir: The destination directory
      :param bool docker: Should the file path be converted to our standard docker '/data/filename'?
      :return: Dict of files: (optionallly docker-friendly) fileepaths
      :rtype: dict