return all the files inside a directory