I am not sure what you mean by
when close a file/doc, the file-tab-bar (or named file-list / doc-list) still keep that tab !!
I’ve fixed a similar issue on 21.1.908. Please update to the latest version including beta versions, and try again. Please let me know if the issue still persists.