code: static void closeStream(BufferedReader br, FileReader fr) {
          try {
              if (br != null)
                  br.close();
              if (fr != null)
                  fr.close();
          } catch (IOException ex) {
              logger.error(ex.getMessage());
              logger.debug("{}", ex.getStackTrace());
          }
      }
docs: /* --- Public methods ---