def loadfile(filename):
  try:
    fp = file(filename, 'r')
    try:
      obj = simplejson.load(fp)
    finally:
      fp.close()
  except __HOLE__:
    raise InvalidClientSecretsError('File not found: "%s"' % filename)
  return _validate_clientsecrets(obj)
dataset/ETHPy150Open AppScale/appscale/AppServer/lib/google-api-python-client/oauth2client/clientsecrets.py/loadfile