The SD library is a wrapper to make SdFat easier to use so traversing directory files may not be appropriate for SD.h.
I have a new version of SdFat in test that has many new features including path-names and easier initialization Google Code Archive - Long-term storage for Google Code Project Hosting..