you can have CPS delete the files here maybe? For example with shutil.rmtree(item['folder']).