code: def prepare_config(args):
      config = Path(args.config).expanduser().resolve()
      clean_list = Path(args.clean_list).expanduser().resolve()
      noise_list = Path(args.noise_list).expanduser().resolve()
      rir_list = Path(args.rir_list).expanduser().resolve()
      outfile = Path(args.outfile).expanduser().resolve()
  
      speech_data = construct_path_dict(clean_list)
      noise_data = construct_path_dict(noise_list)
      rir_data = construct_path_dict(rir_list)
  
      lines = []
      with config.open("r") as f:
          for line in f:
              line = line.strip()
              if not line:
                  continue
  
              (
                  path_clean,
                  start_time,
                  path_noise,
                  path_rir,
                  snr,
                  scale,
              ) = line.split()
              path_clean = speech_data[Path(path_clean).name]
              path_noise = noise_data[Path(path_noise).name]
              path_rir = rir_data[Path(path_rir).name]
              lines.append(
                  f"{path_clean} {start_time} {path_noise} {path_rir} {snr} {scale}\n"
              )
  
      with outfile.open("w") as out:
          for line in lines:
              out.write(line)
  
imports: import argparse
  from pathlib import Path
label_desc: Use image node_id 2 for calling a global function with example usage: prepare_config(args) without return types