gives all the names of a dir