def top_directory(self):
        """Return the name of the archive topmost directory."""
        if self.handle:
            return os.path.commonprefix(self.handle.getnames()).rstrip('/')
Return the name of the archive topmost directory.