File
Modify the function to accept an additional parameter called send_to_trash.
- If
send_to_trash is True, the file should be sent to the trash.
- If
send_to_trash is False, the file should be removed directly (as it already is in the existing function).
- Defaults to
False