WTH: Can't scan directory for files

The file watcher component is great for figuring out whether a new file has been created in a directory. To extend this, it would be useful to be able to query the names of all files in a directory. One could use this to automate changing a local file camera between multiple images in a folder.