def METHOD_NAME(file1, file2):
    if not os.path.isfile(file1):
      raise Exception("Error: The following json file does not exist: '" + file1 +"'")
    if not os.path.isfile(file2):
      raise Exception("Error: The following json file does not exist: '" + file2 +"'")
    if filecmp.cmp(file1, file2) == False:
        print ("\nFile1 : "+ file1)
        print ("\nFile2 : "+ file2)
        raise Exception("Error: The two files are not binary the same")