public void pickGame(String name) {
pickGameFrame.dispose();
gameFileName = name.substring(0, name.lastIndexOf('.'));
BoardGameReader boardGameReader = new BoardGameReader();
File game = boardGameReader.getBoardGame(gameFileName);
GameLoader gameLoader = new GameLoader(null);
gameLoader.loadBoardGame(game);
gameName = gameLoader.getGameName();