I'll assume you mean using Construct
You could use the FileSpy plugin to monitor a directory (folder!) and the File plugin to delete the offending files. You could even use the CommonDialog plugin to select a folder, and you could pick a folder to monitor.
OR you could type ".persist" in the search field of your work folder and then hit ctrl+e to select all and del to delete