def load_data(bank_id): with open(f'./db/{bank_id}.json', 'r') as db: data = json.load(db) return Bank.create_from_dict(data)