

def default_loader(href, parse, encoding=None):
    if (parse == 'xml'):
        file = open(file, 'rb')
        data = ElementTree.parse(file).getroot()
    else:
        if (not encoding):
            encoding = 'UTF-8'
        file = open(href, 'r', encoding=encoding)
        data = file.read()
    file.close()
    return data

dataset/ETHPy150Open amrdraz/kodr/app/brython/www/src/Lib/xml/etree/ElementInclude.py default_loader/VarMisuse@29/34 `href`->`file`