code: def try_disk(self, path, gpg=True):
          
          if not os.path.isfile(path):
              return
  
          if not gpg or self.validate_gpg_sig(path):
              stream = open(path, 'r')
              json_stream = stream.read()
              if len(json_stream):
                  try:
                      json_config = json.loads(json_stream)
                      return json_config
                  except ValueError:
                      logger.error("ERROR: Invalid JSON in %s", path)
                      return False
              else:
                  logger.warn("WARNING: %s was an empty file", path)
                  return
docs: Try to load json off disk