Being able to, from the Editor, delete the opened file would be quite handy
Can you try to describe your use case so I can be sure that I understand it correctly?