import hashlib
ChkSum = open('/home/sandeep.m/output.txt', 'w')
Config = open('/home/sandeep.m/python/config.txt')
for conf in Config.readlines():
    with open(conf.rstrip('\n'), 'rb') as FH:
        md5 = hashlib.md5(FH.read()).hexdigest()
        ChkSum.write('{:18} : {}\n'.format(conf.rstrip('\n'), md5))
ChkSum.close
Config.close

45076b4a8c3c9d9f70709712dc894d8ca5388100
<mask token>

<mask token>
for conf in Config.readlines():
    with open(conf.rstrip('\n'), 'rb') as FH:
        md5 = hashlib.md5(FH.read()).hexdigest()
        ChkSum.write('{:18} : {}\n'.format(conf.rstrip('\n'), md5))
ChkSum.close
Config.close

<mask token>
ChkSum = open('/home/sandeep.m/output.txt', 'w')
Config = open('/home/sandeep.m/python/config.txt')
for conf in Config.readlines():
    with open(conf.rstrip('\n'), 'rb') as FH:
        md5 = hashlib.md5(FH.read()).hexdigest()
        ChkSum.write('{:18} : {}\n'.format(conf.rstrip('\n'), md5))
ChkSum.close
Config.close

import hashlib
ChkSum = open('/home/sandeep.m/output.txt', 'w')
Config = open('/home/sandeep.m/python/config.txt')
for conf in Config.readlines():
    with open(conf.rstrip('\n'), 'rb') as FH:
        md5 = hashlib.md5(FH.read()).hexdigest()
        ChkSum.write('{:18} : {}\n'.format(conf.rstrip('\n'), md5))
ChkSum.close
Config.close
