public void loadGame(JFrame frame) {
        JFileChooser fileChooser = new JFileChooser(".");
        int result = fileChooser.showOpenDialog(frame);
        if (result == JFileChooser.APPROVE_OPTION) {
            try {
                FileInputStream fis = new FileInputStream(
                        fileChooser.getSelectedFile());
                ObjectInputStream inStream = new ObjectInputStream(fis);
                controller.setCellsFromLoad((String) inStream.readObject());
                inStream.close();
            } catch (IOException e) {
            	createErrorMessage(e, frame);
            } catch (ClassNotFoundException e) {
            	createErrorMessage(e, frame);
            } catch (IndexOutOfBoundsException e) {
            	createErrorMessage(e, frame);
	        } catch (Exception e) {
	        	//in case there is an unexpected exception
	        	createErrorMessage(e, frame);
	        }
        }
    }