Use Assign activity and write as StringVariable = Directory.GetFiles(FolderPath)
Now use For Each Activity, change the Type Arguments to String and pass the StringVariable
Inside that place Delete file activity, FileName as Item.ToString
Hope this will help you
Thanks