I had to move a workspace / project file to a different location. I manually updated the paths in the project file.
However, when I opened the workspace, it tried to re-open the files from file history, whose paths were wrong. For each file that failed to open, it opened an extra instance of a file that did not move. See the document tabs to understand what I mean.