Fix file validator