Python, Selenium. How to use some url text in file.txt and open it in selenium webdriver one by one after closing the first tab of link in the file.txt