writes bag files, not hard coded