The For Each action will iterate through files in a directory.
For Each File
Name
A friendly name for this action (will be displayed in the actions workflow area).
...
More information about pattern wild cards can be found on the Ant Pattern Usage page
Options
File Path Variable
An existing variable for storing the full path of the current file in the iteration. You can use this variable to access the current file in a child action.
...
File Name Variable
An existing variable for storing the name of the current file in the iteration. You can use this variable to access the current file name in a child action.
...
Tick to order the files in descending rather than ascending order.
Log Iteration Text
Select the text (filename or file path) to write to the build log for each iteration.