Change to while read method to be able to open several bookmarks