code: def _ReadFileEntries(self, file_object):
      
      self._file_entries = {}
  
      file_offset = 0
      while file_offset < self._file_size or self._file_size == 0:
        file_entry = self._ReadFileEntry(file_object, file_offset)
        file_offset += file_entry.size
        if file_entry.path == 'TRAILER!!!':
          break
  
        if file_entry.path in self._file_entries:
          # TODO: alert on file entries with duplicate paths?
          continue
  
        self._file_entries[file_entry.path] = file_entry
docs: Reads the file entries from the cpio archive.
  
      Args:
        file_object (FileIO): file-like object.