code: def getfile(data_name, path):
      
  
      data_source = get_data_object(data_name, use_data_config=False)
  
      if not data_source:
          if 'output' in data_name:
              floyd_logger.info("Note: You cannot clone the output of a running job. You need to wait for it to finish.")
          sys.exit()
  
      url = "{}/api/v1/resources/{}/{}?content=true".format(floyd.floyd_host, data_source.resource_id, path)
      fname = os.path.basename(path)
      DataClient().download(url, filename=fname)
      floyd_logger.info("Download finished")
docs: Download a specific file from a dataset.