> it will be impossible if the filename changes.
Not impossible, just different and arguably better - comparing hashes is a better tool for finding duplicates.
Not impossible, just different and arguably better - comparing hashes is a better tool for finding duplicates.