Fixes #5312: correct reporting on check generic file content
Merge pull request #450 from ncharles/bug_5312/dev/correct_report_on_check_generic_file_content

Fixes #5312: correct reporting on check generic file content
Merge branch 'branches/rudder/2.6' into branches/rudder/2.10