works as expected, except if we are replacing an existing file that is open in the working set, it is not yet removed