There are some file format (PDF, XML, ZIP) that natively support PKCS#11 signing from a certificate that's on a smartcard. For such formats, there are editors that themselves support signing and validating signs.
But I'm unable to find any solution that allows signing any kind of file, including formats that don't support it.
I'd think on something like MD5 validation, that uses a separated .md5 file with 1 hash for each file and can be used to verify if all files are present and if any file had been corrupted, but is unable to verify by itself if any new file was added to the root folder.