def METHOD_NAME(framemd5_f, psm_path, txt_name_source):
    print("\n\nPART 2 - framemd5 vs md5 fixity check")
    print('Framemd5 exists:')
    for f in framemd5_f:
        print('\t' + f)
    framemd5_count = len(framemd5_f)
    print('Md5 exists:')
    psms = os.listdir(psm_path)
    md5_f = []
    for psm in psms:
        psm_d = os.path.join(psm_path, psm)
        for root, dir, file in os.walk(psm_d):
            for f in file:
                if f.endswith('.md5'):
                    md5 = os.path.join(psm_d, f)
                    md5_f.append(md5)
                    print('\t' + md5)
    md5_count = len(md5_f)
    if framemd5_count == md5_count:
        print('**** SIPs/framemd5 count matches PSMs/md5 count %s\n' % framemd5_count)
        ififuncs.generate_txt('',txt_name_source, 'SIPs/framemd5 count matches PSMs/md5 count %s' % framemd5_count)
    else:
        print('!!!! SIPs/framemd5 count %s DOES NOT match PSMs/md5 count %s' % (framemd5_count, md5_count))
        ififuncs.generate_txt('',txt_name_source, 'SIPs/framemd5 count %s DOES NOT match PSMs/md5 count %s' % (framemd5_count, md5_count))
        # sys.exit()
    i = 0
    while i < framemd5_count:
        with open(framemd5_f[i], 'r') as f1, open(md5_f[i], 'r') as f2:
            flag = True
            for l1, l2 in zip(f1, f2):
                if not l1.startswith('#') and not l2.startswith('#'):
                    if l1 != l2:
                        flag = False
                        print('-----\n!!!! %s DOES NOT match %s\n\tFrom %s:\n\t%s\tFrom %s:\n\t%sMISMATCH FOUND - GOING TO THE NEXT MANIFEST...' % (framemd5_f[i], md5_f[i], framemd5_f[i], l1, md5_f[i], l2))
                        ififuncs.generate_txt('',txt_name_source, '! %s DOES NOT match %s\n\tFrom %s:\n\t%s\tFrom %s:\n\t%s' % (framemd5_f[i], md5_f[i], framemd5_f[i], l1, md5_f[i], l2))
                        # mismatch_list.append()
                        break
        if flag:
            print('-----\n**** All checksums match between %s and %s' % (framemd5_f[i], md5_f[i]))
            ififuncs.generate_txt('',txt_name_source, '* All checksums match between %s and %s' % (framemd5_f[i], md5_f[i]))
        i = i + 1
    else:
        print('-----\nFixity check completed')  