Something like: ```python with bwpy.File(...) as file: file.channel_groups.Group_1 file.channel_groups[0] # ... ```