urls coming from fileinput have newlines