public StringBuilder readFromFile(String fileName){
		BufferedReader in = null;
		StringBuilder res = new StringBuilder();
		try {
			in = new BufferedReader(new FileReader(
					new File(root + separator + fileName+ ".txt")));
		} catch (FileNotFoundException e) {
			System.out.print("ERROR! " + e);
		}
		try {
			String s = null;
			while ((s = in.readLine()) != null) {
                res.append(s);
                res.append("\n");
            }
			in.close();
		} catch (IOException e) {
			System.out.print("ERROR! " + e);
		} finally {
			try {
				in.close();
			} catch (IOException e) {
				System.out.print("ERROR! " + e);
			}
		}
		return res;
	}