code: def in_file_string_replace(filename, old_string, new_string):
      """String replacement within a text file. It is used to fix typos in
      downloaded csv file.
  
      The code was modified from "https://stackoverflow.com/questions/4128144/"
  
      Parameters
      ----------
      filename : str
          Path to the file where strings should be replaced
      old_string : str
          The string to be replaced in the file.
      new_string : str
          The new string that will replace old_string
      """
      with open(filename) as f:
          s = f.read()
  
      with open(filename, "w") as f:
          s = s.replace(old_string, new_string)
          f.write(s)
  
imports: import zipfile
  import tempfile
  import shutil
  import os
  import warnings
  from urllib.request import urlretrieve
label_desc: Use image node_id 2 for calling a global function with example usage: in_file_string_replace(filename, old_string, new_string) without return types