code: def read(ctx, input, output):
      
      log.info('chemdataextractor.read')
      log.info('Reading %s' % input.name)
      doc = Document.from_file(input)
      for element in doc.elements:
          output.write(u'%s : %s\n=====\n' % (element.__class__.__name__, six.text_type(element)))
docs: Output processed document elements.