def bdecode_file(filename):
    with open(filename) as f:
        return bdecode(f.read())
Bdecodes a .torrent or other bencoded file
dataset/ETHPy150Open jefflovejapan/drench/drench/tparser.py/bdecode_file