Added logic to find child files/folders of a clicked folder within the folderHierarchy section.