moved file loading and treeview data source into the view model