Added support for complete purging of workfolders