code: def extract_files(container, file_list, out_path):
      for file in file_list:
          print('Copying "' + file + '" to ' + out_path)
          strm, _ = container.get_archive(file)
          f = open("%s/result.tar.gz" % out_path, "wb")
          for d in strm:
              f.write(d)
          f.close()
          pw_tar = tarfile.TarFile("%s/result.tar.gz" % out_path)
          pw_tar.extractall(out_path)
          os.remove("%s/result.tar.gz" % out_path)
  
file_path: carla/Util/Docker/docker_utils.py
imports: import tarfile
  import os
label_desc: Use image node_id 4 for calling a global function with example usage: extract_files(container, file_list, out_path) without return types