oprimization reading into game xml files