going to speed up get_folders