code: def _move_valid_files_from_dev_to_valid(dpath):
      """
      Files from Google are stored at `nq-dev-##.jsonl.gz` and get untar'd to `nq-
      dev-##.jsonl`.
  
      The agent expects them to be stored at `nq-valid-00.jsonl`. This moves them over if
      need be.
      """
      valid_path = os.path.join(dpath, "valid")
      for f in os.listdir(valid_path):
          if "dev" in f:
              new = f.replace("dev", "valid")
              os.rename(
                  os.path.join(valid_path, f),
                  os.path.join(valid_path, new),
              )
  
file_path: ParlAI/parlai/tasks/natural_questions/build.py
imports: import os
  from tqdm import tqdm
  import parlai.core.build_data
  import parlai.utils.logging
label_desc: Use image node_id 5 for calling a global function with example usage: _move_valid_files_from_dev_to_valid(dpath) without return types