public boolean generateFromTemplate(){
		ArrayList<String> replaced = new ArrayList<String>();
		ArrayList<ArrayList<String>> hugedata = new ArrayList<ArrayList<String>>();
		File file = new File("data/GENERATED.txt");
		openAndReadTemplate();
		openAndReadData();
		parseExpressions();
		hugedata = parseData(content);
		try {
			writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file)));
			try {
				for(ArrayList<String> array : hugedata){
					replaced = parseTemplate(array,expressions);
					for(String temp : replaced){
						writer.write(temp + "\n");
					}
					writer.newLine();
				}
			} catch (IOException e) {
				e.printStackTrace();
			}
			writer.close();
			return true;
		} catch (FileNotFoundException e) {
			writeLog(e);
			return false;
		} catch (IOException e) {
			writeLog(e);
			return false;
		}
		
	}