added bagfile recorder