Applies existing function and removed previously used ones.

Refs #7762
Merge branch 'feature/7762_refactor_loadgroupxmlfile' into develop