Fix file bug