|Think about Loose Coupling|
Which method do you advise me to use?
Seems to me that file contents is likely to change far more often than filepath. And applications that edit contents tend to retain the same name for the edited file.
Plus, even if you copied a file verbatim to a different path, they are no longer the same file as they are likely to be parts of different applications and/or websites. As such, the contents are likely to diverge over time as the separate apps/sites change.
In short, I'd use the filepath.
With the rise and rise of 'Social' network sites: 'Computers are making people easier to use everyday'
Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In reply to Re^9: Uniquely identifying each & every html template