What is the difference between filename and ID?

Branching and DRM Create New Instance creates new filenames for objects.

Symptom

Sometimes the values for filename and ID are different and sometimes they are the same.

Problem

I do not know the difference between filename and ID.

Solution

When an object is first created, the filename and ID are identical. In a standard deployment, if a document is branched, it will have the same ID but different filenames. In a DRM deployment, when you create a new instance of a document the ID remains the same, however, a new filename is created. So the two files have the same ID but a different filename.