Changed bag_load* files to always output a structure