class_docstr: FileMapper
class_docstr_tok: ["FileMapper"]
docstr: Repeat download one file 
docstr_tok: ["Repeat","download","one","file"]
code: def excute_func(
      self, args, func, progress_file_lock, lock_list, proc_index
  ):
      """Repeat download one file"""
      while 1:
          progress_file_lock.acquire()
          file_list = []
  
          with open(TEMP_FILE) as f:
              file_list = json.load(f)
          if len(file_list) == 0:
              progress_file_lock.release()
              break
  
          input_file = file_list[0]
          del file_list[0]
          with open(TEMP_FILE, "w") as f:
              json.dump(file_list, f)
          progress_file_lock.release()
  
          func(args, input_file, lock_list, proc_index)
  
file_path: PGL/apps/PGLBox/sharding_tool/graph_sharding.py
imports: import sys
  import os
  import logging
  import time
  import json
  import shutil
  import argparse
  import multiprocessing
  from multiprocessing import Lock
  from multiprocessing import Process
label_desc: Use image node_id 3 for calling the FileMapper obj's underlying member method code with example usage: obj.excute_func(args, func, progress_file_lock, lock_list, proc_index) without return types