I am writing a simple python script which takes text input line by line from a txt file, changes a predefined url to include the part it has taken, and write the new url to