only allow FileTreeModel models
buildPath() implementation