code: def map_rec2chec(db_path, countries):
      """
      Method read all the original audio tracks and create a dict
              {<checksum>: <recording>}
      :param db_path: string, path to root of DAMP Sing!
      :return: dict
      """
      rec2chec = {}
      for country in countries:
          recordings = [
              f
              for f in listdir(
                  join(db_path, country, country + "Vocals")
              )
              if f.endswith(".m4a")
          ]
          for record in recordings:
              rec2chec[
                  hashlib.md5(
                      open(
                          join(
                              db_path,
                              country,
                              country + "Vocals",
                              record,
                          ),
                          "rb",
                      ).read()
                  ).hexdigest()
              ] = record
  
      return rec2chec
  
file_path: espnet/egs2/dsing/asr1/local/data_prep.py
imports: import argparse
  import hashlib
  import json
  import re
  from os import listdir, makedirs
  from os.path import exists, isfile, join
label_desc: Use image node_id 2 for calling a global function with example usage: map_rec2chec(db_path, countries) and returns: rec2chec