with open(key_path) as f?