The Folder Contents collection contains the paths of item in a specified folder.
You can choose to scan the folder recursively, or just the direct contents of the folder.
As of 7.1+, if the folder is scanned non-recursively then the entire folder is read first, and then iterated through allowing you to safely make changes to the folder while iterating.
By default, hidden files like “.DS_Store” files are excluded, but you can choose to include them if desired.