Retrieve the last url from the passed opened file