code: def construct_path_dict(wav_list):
      path_dict = {}
      with wav_list.open("r") as f:
          for wavpath in f:
              wavpath = wavpath.strip()
              if not wavpath:
                  continue
              wavname = (
                  Path(wavpath)
                  .expanduser()
                  .resolve()
                  .with_suffix("")
                  .name
              )
              path_dict[wavname] = wavpath
      return path_dict
  
imports: import argparse
  from pathlib import Path
label_desc: Use image node_id 1 for calling a global function with example usage: construct_path_dict(wav_list) and returns: path_dict