program to list the files in the directory