JFolder::folders

Utility function to read the folders in a folder.