public void generateOutput() {
		File out = new File(path);
		if (!out.getParentFile().exists()) {
			out.getParentFile().mkdirs();
		}
		try {
			out.createNewFile();
			BufferedWriter bw = new BufferedWriter(new FileWriter(path));
			for (String[] entry: buffer) {
				StringBuilder sb = new StringBuilder();
				sb.append(entry[0]);
				sb.append(" ");
				sb.append(entry[1]);
				bw.write(sb.toString());
				bw.newLine();
			}
			bw.close();
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}