public static void writeStringToFile(File file, String s) throws IOException {
		try (FileWriter writer = new FileWriter(file)) {
			writer.write(s);
		}
	}
Writes the given String to the specified {@link File}.

@param file {@link File} to write to.
@param s String to write to the file.
@throws IOException if there were any issues while writing to the file.
Ghidra/Framework/Utility/src/main/java/utilities/util/FileUtilities.java