Fixes #3562: Fix checkGenericFileContent (Failed merge)
Merge pull request #111 from Kegeruneku/bug_3562/dev/3562_correct_checkgenericfilecontent_technique

Fixes #3562: Fix checkGenericFileContent (Failed merge)