open(URLS, '<', 'urls.txt') | | | | +----<-------+ from the file into the handle