fix(web): refresh open file with the file tree (#7490)