Python function to load binary snapshots.