Set expiration date for files

Is it possible to set an expiration date for your own files? I see I can do it for shares of files, but not for the files themselves.

Often I share large files between devices, and I occasionally forget to delete afterwards, so they end up clogging my incremental server backup.

This should be possible with a combination of a flow (which tags your files by a certain rule) and the retention app.

https://apps.nextcloud.com/apps/files_automatedtagging
https://apps.nextcloud.com/apps/files_retention