public static void emptyFile(File file) {
		FileWriter fw = null;
		try {
			fw = new FileWriter(file);
			fw.write("");
		} catch (IOException e) {
			e.printStackTrace();
		} finally {
			if (fw != null) {
				try {
					fw.close();
				} catch (IOException e) {
					e.printStackTrace();
				}
			}
		}
	}