Sample code for Listing file names in a directory