def METHOD_NAME(path: str) -> dict[str, Any] | None:
    expected_commonpath = os.path.realpath(DOC_FOLDER)
    doc_path = os.path.join(DOC_FOLDER, f"{path}.json")
    doc_real_path = os.path.realpath(doc_path)
    if expected_commonpath != os.path.commonpath([expected_commonpath, doc_real_path]):
        raise SuspiciousDocPathOperation("illegal path access")
    try:
        with open(doc_path, encoding="utf-8") as f:
            return json.load(f)
    except OSError:
        return None