import json


def _ParsePlugin(file_path):
  """Reads the given file and parses it into an object."""
  with open(file_path, 'r') as f:
    obj = json.load(f)
    obj['path'] = file_path
    return obj