code: def get_path(datafolder, id):
      """
      Get the filepath with ID
      """
      if "Ses01" in id:
          return os.path.join(
              datafolder, "Session1/sentences/wav", id[:-5], id + ".wav"
          )
      if "Ses02" in id:
          return os.path.join(
              datafolder, "Session2/sentences/wav", id[:-5], id + ".wav"
          )
      if "Ses03" in id:
          return os.path.join(
              datafolder, "Session3/sentences/wav", id[:-5], id + ".wav"
          )
      if "Ses04" in id:
          return os.path.join(
              datafolder, "Session4/sentences/wav", id[:-5], id + ".wav"
          )
      if "Ses05" in id:
          return os.path.join(
              datafolder, "Session5/sentences/wav", id[:-5], id + ".wav"
          )
  
file_path: speechbrain/recipes/ZaionEmotionDataset/emotion_diarization/datasets/prepare_IEMOCAP.py
imports: import numpy
  import re
  import os
  import random
  from pydub import AudioSegment
  import json
  from datasets.vad import write_audio
  from pathlib import Path
  import logging
label_desc: Use image node_id 5 for calling a global function with example usage: get_path(datafolder, id) and returns: os, os, os, os, os