add method to list subdirectories in a directory