docs: def parse_json_feed_file(filename: str) -> JSONFeed:
      """Parse a JSON feed from a local json file."""
      with open(filename) as f:
          try:
              root = json.load(f)
          except json.decoder.JSONDecodeError:
              raise FeedJSONError('Not a valid JSON document')
  
      return parse_json_feed(root)