Updated file tree UI behaviour