public void saveGenes(Genes genes, String geneName)
			{
				if (genes == null)
					return;

				BufferedWriter out = null;

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

						while (geneFile.exists())
							{
								geneName += '-';
								geneFile = new File(saveDirectory + "//" + geneName + ".txt");
							}
						
						out = new BufferedWriter(new FileWriter(geneFile, false));
						out.write(genes.getGenes());
						out.newLine();
						out.write("Seed Size=" + genes.seedEnergy);
						out.newLine();
						out.write("Leaf Red=" + genes.leafColour.getRed());
						out.newLine();
						out.write("Leaf Green=" + genes.leafColour.getGreen());
						out.newLine();
						out.write("Leaf Blue=" + genes.leafColour.getBlue());
						out.newLine();
						out.write("Remember that the leaf colour represents Light NOT absorbed by the plant.");
						out.newLine();
						out.write("White (0, 0, 0), means no light absorbed. Black (255, 255, 255), means all light absorbed");
						out.newLine();
						out.write("The optimum absorbance is 200 units of light, this can be a mix of the three colours");
					}
				catch (Exception e)
					{
						e.printStackTrace();
					}
				finally
					{
						try
							{
								out.flush();
								out.close();
							}
						catch (IOException e)
							{
								e.printStackTrace();
							}
					}
			}