quit from openning file