docs: def _add_tag_files(
      zip_file, dir_name, payload_info_list, payload_byte_count, payload_file_count
  ):
      """Generate the tag files and add them to the zip."""
      tag_info_list = []
      _add_tag_file(zip_file, dir_name, tag_info_list, _gen_bagit_text_file_tup())
      _add_tag_file(
          zip_file,
          dir_name,
          tag_info_list,
          _gen_bag_info_file_tup(payload_byte_count, payload_file_count),
      )
      _add_tag_file(
          zip_file, dir_name, tag_info_list, _gen_pid_mapping_file_tup(payload_info_list)
      )
      return tag_info_list