Fixed file bug