public void saveErrors() throws IOException{
		BufferedWriter out = new BufferedWriter(new FileWriter(fileName));
		
		for (int i = 0; i < errors.size(); i++){
			out.write(errors.get(i) + "\n");
		}
		
		out.close();
		
	}