Refactor benchO.xml parsing to use smaller methods