Why not override `validateFile()`?