code: def remove_backslash_r(filename, encoding):
          
  
          with open(filename, 'r', encoding=encoding, newline=r'\n') as filereader:
              contents = filereader.read()
          contents = re.sub(r'\r', '', contents)
          with open(filename, "w") as filewriter:
              filewriter.truncate()
              filewriter.write(contents)
docs: A helpful utility to remove Carriage Return from any file.
          This will read a file into memory,
          and overwrite the contents of the original file.
  
          TODO: This function may be a liability
  
          :param filename:
  
          :return: