Refactored recorder (no more individual writes in bundle file)