public static void writeCurrentErrors(ErrorLogs errorLogs, String errorFileOutputName){
		int errorSize = errorLogs.getErrorMsgs().size();
		System.out.println("writing current Errors");
		try {
			PrintWriter error_writer = new PrintWriter(errorFileOutputName);
		
		for (int i = 0; i < errorSize; i++) {
			error_writer.println(errorLogs.getErrorMsgs().get(i));// get each rule set and print the result
		}
	
			error_writer.close();
		} catch (IOException ex) {
			System.out
					.println("Error writing to file: '" + errorFileOutputName + "'");
		}
		
	}