private void loadGames(Player created, File gameDirectory) throws IOException, Exception{
		if(gameDirectory == null)
			return;
		for(File gameFile: gameDirectory.listFiles()){
			if(gameFile.toString().endsWith(".txt")){
				br = new BufferedReader(new FileReader(gameFile));
				String in = br.readLine();
				if(in != null && !in.equals("null")){
					GameStat temp = gson.fromJson(in, GameStat.class);
					temp.load();
					created.addGame(temp);
				}
			}
		}
	}