Add support for reading PG offsets from xml file