This activity deletes all files matching the search pattern Filter and timestamp criteria CreationTime and LastWriteTime in the given directory. If DeleteEmptyDirectory is set to true the system tries to remove the directory as well.
It returns the number of actual deleted files, including the directory.