extract all runtime states to a single file