fixed documentation example code of CFileValidator

fixes #1458