Reference: Insert File Actions
Adds a Delete_Files command to the current script at the current location. The entry can be modified directly in the script. When you select a directory, the inserted command deletes all files in the directory. When you select an individual file, the inserted command deletes only that file.