I\'m trying to morph a series of file paths into a nested recursive structure for an Angular Material Tree component. The structure needs to be this:
interfac