code: def save(self):
          
          if self.mode in ("wb+", 'rb+'):
              if not self.is_open:
                  raise IOError("file closed")
              self.write_reference_properties()
              self.manager.write_objects()
docs: Writes current changes to disk and flushes modified objects in the
          AAFObjectManager