added support for doNotDeleteFiles