Using a files section in a custom block blueprint

Hi
I’m working on a custom plugin for a custom block field.
I was wondering,
In the custom-block.yml it seems I can’t use a file section. Is this intended or am I doing something wrong ?

name: Button
icon: bolt
tabs:
  sections:
    gallery:
      label: Gallery
      type: files
      template: gallery
  styles:
    fields:
      class:
        type: text
      id:
        type: text

Thanks.

You cannot use sections inside a block. Only fields.

noted, thanks!