Keep your open files and tree in sync