import json


def get_reference(compare_path):
  """ Get correct result from given file.

  Args:
    compare_path: Path to correct result file

  Returns:
    A dict contains correct result.
  """
  if compare_path:
    with open(compare_path, 'r') as f:
      compare_data = json.load(f)
      return compare_data
  return None