Modified internal tree and list node management methods to use dynamic CollectionProperty, made the methods protected for better encapsulation, added AbstractFile as a common base class for File and Folder.