code: def get_channel(filename, channels, filenames):
      """
      Get the channel (Right / Left) of a transcription linked audio.
  
      Arguments
      ---------
      filename: str
          Name of the Media recording.
      channels: list of str
          Channels (Right / Left) of the stereo recording to keep.
      filenames: list of str
          Linked IDs of the recordings, for the channels to keep.
  
      Returns
      -------
      str
      """
  
      channel = channels[filenames.index(filename)]
      return channel
  
imports: import xml.dom.minidom
  from tqdm import tqdm
  import logging
  import subprocess
  import csv
  import os
  import glob
  import re
label_desc: Use image node_id 20 for calling a global function with example usage: get_channel(filename, channels, filenames) and returns: channel