code: def get_metadata_file_path(channeldir, filename):
      
      channelparentdir, channeldirname = os.path.split(channeldir)
      return os.path.join(channelparentdir, filename)
docs: Return the path to the metadata file named `filename` that is a sibling of `channeldir`.