def METHOD_NAME(distQueryOutFile, localQueryOutFile, diffFile):
    exitCode = 1
    with open(diffFile, "w") as f:
        diffCommand = "diff -u {} {}".format(localQueryOutFile, distQueryOutFile)
        process = subprocess.Popen(diffCommand.split(), stdout=f, stderr=f, shell=False)
        process.wait()
        exitCode = process.returncode
    print("diff exit {}".format(exitCode))
    return exitCode