please post one email per (unrelated) question.
You're right, sorry.

I split into two new subjects.

In attachment, here's my solution. And you guess well, it's quite handy
to put the "getFilename" method inside a subpatch, that's why I use
[iemguts/receivecanvas 1].


Jerome