Add new function called getFoldersByFolder.