auto open files which are opened already while exit last time