code: public static void saveFile(final File file, final String contents, final String encoding) throws IOException {
          saveFile(file, contents.getBytes(encoding));
      }
docs: Save the data, represented as a String to a file
  
  @param file     The location/name of the file to be saved.
  @param contents The data that is to be written to the file.
  @throws IOException