Hi Ben
Evolve or Foundation?
In Evolve, you can go to documents and then select your solution. For there, with the right permissions, you can delete files.
Note for recurring Query scheduled runs, it appends a date/time, as well as incrementing a number, so that it's always unique.

For Transaction, you're presented a pop-up with a filename, which gives you the chance to change it if it already exists:

Does that help or was the question about another environment/something else?
Best Regards,
Sigrid
------------------------------
Sigrid Kok
PSE | Winshuttle NA
------------------------------