My Bot's Deleted File still runs

I have been working on a discord bot for quite a long time. And I have made two commands and deleted one of them. But both run and it is annoying since the one I deleted is broken and unfinished. Also, whenever I open the project after a long time, the file returns. Why is is so?

I was able to fix it by changing the contents of the file.
(I couldn’t delete it)