code: def write_string_to_file(filename: Text, file_content: Text) -> None:
      """Writes a string to a given file.
  
      Args:
        filename: path to a file.
        file_content: contents that need to be written to the file.
      """
      with tf.io.gfile.GFile(filename, mode="w") as f:
          f.write(file_content)
  
file_path: data-validation/tensorflow_data_validation/utils/io_util.py
imports: import os
  import pickle
  from typing import Any, Iterator, List, Text, Union
  import uuid
  import apache_beam
  import tensorflow
label_desc: Use image node_id 1 for calling a global function with example usage: write_string_to_file(filename, file_content) without return types