Changed method name from bag.Close to bag.Save for clarity.