def list_cubes(self):
        """ List all available JSON files. """
        for file_name in os.listdir(self.directory):
            if '.' in file_name:
                name, ext = file_name.rsplit('.', 1)
                if ext.lower() == 'json':
                    yield name
List all available JSON files.