def METHOD_NAME(path, file_name_parts):
  '''Checks if json file name is in the proper format'''
  if len(file_name_parts) != 2:
    raise JsonFormattingError("{} file name not in <name>.json format".format(path))