easy just don't load all subfolders, load them on demand,I mean when user clicks on one folder load contents of that directory and display them.