public GamesFolder(ZipFile file, String path) throws IOException
	{
		this.path = path;
		
		JsonReader reader = ZIPHelper.getJsonReader(file, path + "info.json");
		reader.beginObject();
		while (reader.peek() == JsonToken.NAME)
		{
			String name = reader.nextName();
			if ("game_folders".equals(name))
			{
				String[] strings = new Gson().fromJson(reader, String[].class);
				this.gamesFolders = new GamesFolder[strings.length];
				for (int i = 0; i < strings.length; i++)
				{
					GamesFolder gamesFolder = new GamesFolder(file, path + strings[i]);
					gamesFolder.baseGamesFolder = this;
					this.gamesFolders[i] = gamesFolder;
				}
			}
			else if ("games".equals(name))
			{
				String[] strings = new Gson().fromJson(reader, String[].class);
				this.gamePaths = new GamePath[strings.length];
				for (int i = 0; i < strings.length; i++)
				{
					GamePath gamePath = new GamePath();
					gamePath.path = path + strings[i];
					this.gamePaths[i] = gamePath;
				}
			}
		}
		reader.endObject();
		
		if (this.gamesFolders == null)
			this.gamesFolders = new GamesFolder[0];
		if (this.gamePaths == null)
			this.gamePaths = new GamePath[0];
	}