auto delete a file to the trash then allow 10 days for recovery then perm. delete!
There is an app for that:
And the trash-bin can be configured in your config/config.php:
config/config.php