Refactored checkThatHashesMating(): Added there as input param the
filename. Sometimes the warningtype matching the filename, but sometimes
also not.