code: def process_directory(directory_name, lazy=False):
      
  
      # Parent Medscan processor containing extractions from all files
      mp = MedscanProcessor()
      mp.process_directory(directory_name, lazy)
      return mp
docs: Processes a directory filled with CSXML files, first normalizing the
      character encodings to utf-8, and then processing into a list of INDRA
      statements.
  
      Parameters
      ----------
      directory_name : str
          The name of a directory filled with csxml files to process
      lazy : bool
          If True, the statements will not be generated immediately, but rather
          a generator will be formulated, and statements can be retrieved by
          using `iter_statements`. If False, the `statements` attribute will be
          populated immediately. Default is False.
  
      Returns
      -------
      mp : indra.sources.medscan.processor.MedscanProcessor
          A MedscanProcessor populated with INDRA statements extracted from the
          csxml files