Able to get all the files in a directory