public void generateSymbolTables(List<String> st, String filename) {

		FileWriter outputStream = null;
		try {
			outputStream = new FileWriter(filename);
			int ct = 1;

			for (String s : st) {
				outputStream.write(ct + "   " + s + "\n");
				ct++;
			}

		} catch (IOException e) {
			e.printStackTrace();
		}

		try {
			outputStream.close();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}