Fix error in file tree model