Added feature: when app starts up, it opens the last file opened