Optimize filetree render