Fixes #3485 : correct class expression in checkgenericfilecontent 3.2