looking at using visitor pattern for folder extraction..
Folder extraction visitor idea...