code: public static void handle(File srcFile, AnnotationHandler ah) throws Exception {
          FileInputStream fis = new FileInputStream(srcFile);
          FileChannel fc = fis.getChannel();
  
          // Get a CharBuffer from the source file
          ByteBuffer bb = fc.map(FileChannel.MapMode.READ_ONLY, 0, fc.size());
          CharsetDecoder cd = Charset.forName("8859_1").newDecoder();
          CharBuffer cb = cd.decode(bb);
  
          // handle the content.
          ah.start(cb.toString());
          handle(cb.toString(), ah);
          ah.done();
  
          fis.close();
      }
docs: Handle a file with an annotation handler.
  
  @param file
  @param ah
  @throws java.lang.Exception