code: public void stringToFile(String content, File file) throws IOException {
          stringToOutputStream(content, new FileOutputStream(file));
      }
docs: Save a string to a file.
  
  @param content the string to be written to file
  @param file    fhe file object