docs: def parse(binary, **params):
      """Turns a TAR file into a frozen sample."""
      binary = io.BytesIO(binary)
      collection = list()
      with tarfile.TarFile(fileobj=binary, mode='r') as tar:
          for tar_info in tar.getmembers():
              content_type, encoding = mimetypes.guess_type(tar_info.name)
              content = tar.extractfile(tar_info)
              content = content_encodings.get(encoding).decode(content)
              content = content_types.get(content_type).parse(content, **params)
              collection.apppend((tar_info.name, content))
      return collection