code: def csv_file(tmp_path):
      # Create a temporary file path
      file_path = tmp_path / "data.csv"
  
      # Generate data to write to the CSV file
      data = [["ID", "Name"], [1, "John"], [2, "Jane"], [3, "Bob"]]
  
      # Write data to the CSV file
      with open(file_path, mode="w", newline="") as file:
          writer = csv.writer(file)
          writer.writerows(data)
  
      # Provide the file path to the test function
      yield str(file_path)
  
      # Optional: Clean up the temporary file after the test
      file_path.unlink()
  
file_path: NeMo/tests/collections/nlp/test_mem_map_dataset.py
imports: import csv
  import json
  import os
  import pytest
  from nemo.collections.nlp.data.language_modeling import text_memmap_dataset
label_desc: Use image node_id 2 for calling a global function with example usage: csv_file(tmp_path) without return types