Methods, systems, and computer program products disambiguate a globally
universal identifier (GUID) within a file after the file is duplicated.
The method involves generating a GUID for the file, generating a location
identifier that defines a unique location of the file when the GUID was
generated, and storing the location identifier in association with the
GUID. The method also involves opening and examining the file,
determining whether the location identifier matches a current location of
the file, and in response to determining that the location identifier
does not match the current location, generating a new GUID and replacing
the GUID with the new GUID. Additionally, the method may also involve
remapping references mapped to the GUID in the file to the new GUID and
resetting the location identifier to match the current location.