Split code for reading office XML into separate module