public static void deleteFile(File file) {
		if(file.exists()) {
			if(file.isDirectory()) {
				File [] files = file.listFiles();
				for (File file2 : files) {
					deleteFile(file2);
				}
			}
			file.delete();
		}
	}