Check if the file tree has changed