Support to exclude files from delete

Change-Id: I2ae1037e013ebd7a1b92fbe9dd3b1a22f316489b