parsing xfr file