private void buildBoard() throws GOLException, IOException {
        initializeBoard();
        int row = 0;
        Scanner scanner = new Scanner(filePath);
        while (scanner.hasNextLine()) {
            fillBoardWithLine(scanner.nextLine(), row);
            row++;
        }
        scanner.close();
    }