I need to test code that generates file names and writes out the files. How can I get the contents of a directory?