code: def inputAnalyzeCallback(self, *args, **kwargs):
          
          b_status            = False
          filesRead           = 0
          filesAnalyzed       = 0
  
          for k, v in kwargs.items():
              if k == 'filesRead':    d_DCMRead   = v
              if k == 'path':         str_path    = v
  
          if len(args):
              at_data         = args[0]
              str_path        = at_data[0]
              d_read          = at_data[1]
  
          b_status        = True
          self.dp.qprint("analyzing:\n%s" % 
                                  self.pp.pformat(d_read['l_file']), 
                                  level = 5)
          if int(self.f_sleepLength):
              self.dp.qprint("sleeping for: %f" % self.f_sleepLength, level = 5)
              time.sleep(self.f_sleepLength)
          filesAnalyzed   = len(d_read['l_file'])
  
          return {
              'status':           b_status,
              'filesAnalyzed':    filesAnalyzed,
              'l_file':           d_read['l_file']
          }
docs: Test method for inputAnalzeCallback
  
          This method loops over the passed number of files, 
          and optionally "delays" in each loop to simulate
          some analysis. The delay length is specified by
          the '--test <delay>' flag.