@Override
	public void exec() throws IOException {
		if (!init()) {
			System.err.println("Initial failed! Please check the file path!");
			return;
		}
		
		process();

		writer.flush();

		if (!close()) {
			System.err.println("Close failed for IOException!");
		}
	}