Switch to opened file when auto-resume on startup.