def read_files(filenames):
    if isinstance(filenames, list):
        for filename in filenames:
            with open(filename, 'r') as infile:
                return infile.read()
    else:
        with open(filenames, 'r') as infile:
            return infile.read()
Add http as the default scheme if it is missing from the url.
dataset/ETHPy150Open huntrar/scrape/scrape/utils.py/read_files--crossover with--dataset/ETHPy150Open scrapy/scrapy/scrapy/utils/url.py/add_http_if_no_scheme