@chris you should take a look at git-annex. Basically when you add a file in git-annex, it hashes the file, moves it to a read only location, renames the file to its hash, then creates a symlink in the original location with the original name. You can run git annex fsck and it’ll compare the file to its hash. Lots of other neat stuff too; its how I’m storing my raw files.