implement 'list folders' task