Move to recyle bin/trahs with OS.File

With OS.File if you do OS.File.remove(a os path) it will permentantly delete it. Is there a way to “send to trash” (recycling bin on windows, trash on osx, linux’s)?

Apparently there was no built solution. I built a function that might come in handy to others which does this -

https://github.com/Noitidart/NativeShot/blob/master/modules/screenshot/ScreenshotWorker.js#L1867-L1992