Inputs from text file called ListOfLinks. Only uses mode 2.