private boolean openFile(String filename) {
			boolean success;
			String inputLine, editorString = "";
			FileReader freader;
			BufferedReader inputFile;

			try {

				freader = new FileReader(filename);
				inputFile = new BufferedReader(freader);

				inputLine = inputFile.readLine();
				while (inputLine != null) {
					editorString = editorString + inputLine + "\n";
					inputLine = inputFile.readLine();
				}
				editorText.setText(editorString);

				inputFile.close();

				success = true;
			} catch (IOException e) {

				success = false;
			}

			return success;
		}