With the proliferation of SSDs, bit rot is becoming even more common.
Therefore the idea is to store in the database a hash value per file managed. Both for image files and the XMP files.
Ideally should be able to run as a foreground task, or as a background task which is set to a lower priority.
Could either be started via menu, command line...