Add focus and preview for filetree