def render(self, context, instance, placeholder):
        self.render_template = select_template((
            'cmsplugin_filer_folder/folder.html',  # backwards compatibility. deprecated!
            self.TEMPLATE_NAME % instance.style,
            self.TEMPLATE_NAME % 'default')
        )

        user = context['request'].user

        if instance.folder_id:
            folder_files = self.get_folder_files(instance.folder, user)
            folder_images = self.get_folder_images(instance.folder, user)
            folder_folders = self.get_children(instance.folder)
        else:
            folder_files = File.objects.none()
            folder_images = Image.objects.none()
            folder_folders = Folder.objects.none()

        context.update({
            'object': instance,
            'folder_files': sorted(folder_files),
            'folder_images': sorted(folder_images),
            'folder_folders': folder_folders,
            'placeholder': placeholder
        })
        return context
dataset/ETHPy150Open divio/cmsplugin-filer/cmsplugin_filer_folder/cms_plugins.py/FilerFolderPlugin.render/original