You should probably also check the _EditorState.
I think the content of files is still cached into those _EditorState when they are not opened.