Move logfile verification into the new verify_files function

Fix #3156