Update feature #9030

[dev] Added function to delete the files