added a listDirs method to Store