Generic Class for getting a list of subfolders