code: def process_inputs(self):
          
          ret = []
          files = self.args.files
          if files is None:
              return ret
  
          for fname in files:
              if fname == '-':
                  if self.args.base64stdin:
                      for line in sys.stdin:
                          data = base64.b64decode(line)
                          ret.append(self.process_file(data, fname))
  
                      continue
                  else:
                      fh = sys.stdin
  
              elif fname.endswith('.tar') or fname.endswith('.tar.gz'):
                  sub = self.process_tar(fname)
                  ret.append(sub)
                  continue
  
              elif not os.path.isfile(fname):
                  sub = self.process_dir(fname)
                  ret.append(sub)
                  continue
  
              else:
                  fh = open(fname, 'rb')
  
              with fh:
                  data = fh.read()
                  sub = self.process_file(data, fname)
                  ret.append(sub)
  
          return ret
docs: Processes input data
          :return: