How do I populate through a list of URLs from a file?

How do I populate through a list of URLs from a file?