public static void write(File file, List<String> resultList)
			throws IOException {
		if (!file.exists()) {
			file.createNewFile();
		}
		FileWriter fw = new FileWriter(file.getAbsoluteFile());
		BufferedWriter bufferReader = new BufferedWriter(fw);
		for (String content : resultList) {
			bufferReader.write(content);
		}
		try {
			bufferReader.close();

		} catch (IOException ex) {
			Logger.getLogger(FileUtility.class.getName()).log(Level.SEVERE,
					null, ex);
		}

	}