essayez (BufferedReader reader = new BufferedReader(new FileReader(fileName))) { String text; while (Objects.nonNull(text = reader.readLine())) { // insert code to process read info } } catch (IOException e) { String message = String.format(“read file(%s) exception”, fileName); ...