public AntBrain(String filename) {
		try {
			file = new FileReader(filename);
		} catch (FileNotFoundException e) {
			file = null;
		}
		if(file!=null) {
			highestReferencedState = 0;
			lineNumber = 0;
			charNumber = -1;
			readNext();
			getBrain();
		} else {
			System.out.println("Unable to read file: " + filename);
		}
	}