Enhance file deletion and shredding function