Check integrity files from database

Hi, it is there a command in the occ or other some way to check if the checksum of all files stored correspond to the checksum in the database?
So I could understand if any file is corrupted and restore them from the backup?