code: def process_tar(self, fname):
          
          import tarfile  # lazy import, only when needed
          ret = []
          with tarfile.open(fname) as tr:
              members = tr.getmembers()
              for member in members:
                  if not member.isfile():
                      continue
                  fh = tr.extractfile(member)
                  sub = self.process_file(fh.read(), member.name)
                  ret.append(sub)
          return ret
docs: Tar(gz) archive processing
          :param fname:
          :return: