private static void loadParameterFile(File file) {
		try {
			BufferedReader in = new BufferedReader(new FileReader(file));
			int count;
			
			for (count = 0; in.ready(); count++) {
				String line = in.readLine();
				if (line.compareTo("") == 0 || !loadParameter(line)) {
					in.close();
					loadDefaults();
					return;
				}
			}
			
			if (count != PARAMETER_COUNT)
				loadDefaults();
			in.close();
				
			
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (IOException e) {
			e.printStackTrace();
		}
	}