BufferedReader (String path) { try { return new BufferedReader(new FileReader(path)); } catch (FileNotFoundException e) { // for example purposes #createReader shouldn't throw any checked exception throw new RuntimeException(e); } }