removed WritePermission from retrieving subfolders query as it did not retrieve all My Docs subfolders.