restore bookmarks on file reload