code: private IChemFile readChemFile(IChemObjectBuilder bldr) {
          IChemFile cf = null;
          try {
              parser.setFeature("http://xml.org/sax/features/validation", false);
              logger.info("Deactivated validation");
          } catch (SAXException e) {
              logger.warn("Cannot deactivate validation.");
          }
          INChIHandler handler = new INChIHandler(bldr);
          parser.setContentHandler(handler);
          try {
              parser.parse(new InputSource(input));
              cf = handler.getChemFile();
          } catch (IOException e) {
              logger.error("IOException: ", e.getMessage());
              logger.debug(e);
          } catch (SAXException saxe) {
              logger.error("SAXException: ", saxe.getClass().getName());
              logger.debug(saxe);
          }
          return cf;
      }
docs: Reads a ChemFile object from input.
  
  @return ChemFile with the content read from the input