def METHOD_NAME(vmdk, ovf):
    dirname, basename = os.path.split(vmdk)
    mf = f"{os.path.join(dirname, os.path.splitext(basename)[0])}.mf"
    with open(mf, "w", encoding="utf8") as f:
        f.write(f"SHA256({os.path.basename(ovf)})= {checksum.hexdigest_file(ovf, 'sha256')}\n")
        f.write(f"SHA256({basename})= {checksum.hexdigest_file(vmdk, 'sha256')}\n")