private boolean saveFile(String filename) {
			boolean success;
			String editorString;
			FileWriter fwriter;
			PrintWriter outputFile;

			try {

				fwriter = new FileWriter(filename);
				outputFile = new PrintWriter(fwriter);

				editorString = editorText.getText();
				outputFile.print(editorString);

				outputFile.close();

				success = true;
			} catch (IOException e) {

				success = false;
			}

			return success;
		}