code: def _get_day_to_paths(data_dir):
      """Prepares paths to files with raw chat messages and replies annotations.
  
      Args:
        data_dir: directory containing files with data. directory can be
  
      Returns:
        day_to_paths: dict formatted date -> dict with paths
          day_to_paths[day_str]["text"] - path to file with raw chat messages
          day_to_paths[day_str]["annot"] - path to file with replies annotations.
      """
      day_to_paths = collections.defaultdict(dict)
      for filename in tf.io.gfile.listdir(data_dir):
          filepath = os.path.join(data_dir, filename)
          day_str = filename[
              : len("YYYY-MM-DD")
          ]  # e.g. 2004-12-25.train-c.raw.txt
  
          if "raw" in filename:
              day_to_paths[day_str]["text"] = filepath
          if "annotation" in filename:
              day_to_paths[day_str]["annot"] = filepath
  
      return day_to_paths
  
file_path: datasets/tensorflow_datasets/datasets/irc_disentanglement/irc_disentanglement_dataset_builder.py
imports: import collections
  import os
  from typing import List
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
  import tensorflow_datasets.public_api
label_desc: Use image node_id 1 for calling a global function with example usage: _get_day_to_paths(data_dir) and returns: day_to_paths