public void SaveGenotype(Genotype genotype, uint genotypesSaved) { string saveFolder = statisticsRootFolderName + "/"; if (!Directory.Exists(saveFolder)) { Directory.CreateDirectory(saveFolder); } genotype.SaveToFile(saveFolder + "Genotype - Finished as " + genotypesSaved + ".txt"); }