auto open files that are opened already when last time exit