public boolean openFile(String file, String fileIde) { 
		try { //it tries using the method used to read from a jar
			scanner = new Scanner(TextFileToArray.class.getResourceAsStream(file));
			return true;
		} catch (Exception e1) { //if that fails, it tries to use the 
			try { //method to read from the IDE
				scanner = new Scanner(new File(fileIde)); 
				return true;
			}
			catch (Exception e2) {	//if it fails it prints out an error
				GuiMaster.println("WARNING: The file Elements.txt cannot be found.");
				return false; // and returns to alchemy, which eventually 
			} //returns to main menu
		}
	}