Atachment to note in sepret folders

When I create a note and add a file to it, it goes to the special attachment folder, but I want it to go to the attachment folder and create a subfolder with the name of the note.

Now I get something like this

.
├── _attachments
│   └── 1024.png
└── test.md

and i want something like this

.
├── _attachments
│   └── test
│       └── 1024.png
└── test.md

How do I do this?