# -*- mode: python -*-
# name: file-read
# key: fr
# --
with open($0, 'r') as file:
    try:
        data = json.load(file)
    except (json.JSONDecodeError):
        data = {}