Improved the file and CellML file managers (closes #437).