def load(p, compression=None):
    if ((compression == 'gz') or (compression == 'gzip')):
        f = gzip.open(p, 'rb')
    else:
        f = open(p, mode='r', encoding='utf-8')
    content = f.read()
    f.close()
    return content
def load(p, compression=None):
    if ((compression == 'gz') or (compression == 'gzip')):
        f = gzip.open(p, 'rb')
    else:
        f = open(p, mode='r', encoding='utf-8')
    content = f.read()
    f.close()
    return content