added docstrings for category_folders