int getMaxCond(String name) {
		// returns the maximum condition, default is 0
		File conditions = new File(subjects.getAbsolutePath() + "\\" + name + "\\conditions");
		try {
			BufferedReader cFile = new BufferedReader(new FileReader(conditions));
			Scanner scanner = new Scanner(cFile);
			int n;
			if (scanner.hasNext())
				n = scanner.nextInt();
			else 
				n = 0;
			scanner.close();
			return n;
		}
		catch (IOException ioe) {
			return 0;
		}
	}