Test with deliberately distinct names
Assign the text effect at the correct scope and select the field you want displayed. Try two harmless local test filenames that differ clearly, then switch clips and render a few frames.
A worked example
If the visible picture changes but its label stays the same, the text may be static or attached to the wrong scope. In a two-track comparison, inspect the labels independently.
Before delivery
Use a human-written, non-sensitive public label when the filename reveals personal information. Avoid burning private folder names into a shareable proof.