Open file bug fixed