public void loadGenes(String geneName)
			{
				BufferedReader in = null;
				Simulation sim = Hub.simWindow.sim;

				try
					{
						File geneFile = new File(saveDirectory + "//" + geneName);

						in = new BufferedReader(new FileReader(geneFile));

						sim.currentGenes = new Genes(readStringFromLine(in.readLine()), readValueFromLine(in.readLine()), (int) readValueFromLine(in.readLine()),
								(int) readValueFromLine(in.readLine()), (int) readValueFromLine(in.readLine()));
					}
				catch (Exception e)
					{
						if (geneName == "default.txt")
							createDefaultGenesFile();

						loadGenes("default.txt");
					}
				finally
					{
						try
							{
								in.close();
							}
						catch (IOException e)
							{
								e.printStackTrace();
							}
					}
			}