src/main/java/com/brianscottrussell/gameoflife/GameOfLife.java
/**
     * Given the file location, attempts to read the input grid from text file
     *
     * If there is any issue with the file location or reading the file, returns the default game grid
     *
     * @param inputFileLocation String as file location
     * @return String representation of text in file
     */
Given the file location, attempts to read the input grid from text file
If there is any issue with the file location or reading the file, returns the default game grid

@param inputFileLocation String as file location
@return String representation of text in file
Given the file location attempts to read the input grid from text file If there is any issue with the file location or reading the file returns the default game grid @param inputFileLocation String as file location @return String representation of text in file
private static String readInputGridFromFileLocation(String inputFileLocation) {
        try {
            return new String(Files.readAllBytes(Paths.get(inputFileLocation)));
        } catch (IOException e) {
            System.out.println("Unable to read the file at the location provided. Using default game grid as input.");
        }
        return DEFAULT_GAME_GRID_INPUT;
    }
private static String readInputGridFromFileLocation ( String inputFileLocation ) { try { return new String ( Files . readAllBytes ( Paths . get ( inputFileLocation ) ) ) ; } catch ( IOException e ) { System . out . println ( "Unable to read the file at the location provided. Using default game grid as input." ) ; } return DEFAULT_GAME_GRID_INPUT ; }
Given the file location, attempts to read the input grid from text file
 If there is any issue with the file location or reading the file, returns the default game grid
Given the file location attempts to read the input grid from text file If there is any issue with the file location or reading the file returns the default game grid