Fixed weird file bug