The File delete Task lets you delete file(s) with help of VisualCron file filter which can base deletion on file mask, date, size etc.
Delete file > File filter > Location sub tab
The file filter sub tab contains the standard file filter.
Delete file > Delete settings sub tab
Delete empty sub folders
If checked, empty sub folders are deleted.
Remove read only flag
If checked, the read-only folder attribute is removed, allowing delete of a read-only folder.