An Incomplete but workable version of filter of  treeview done