pprintxml and splitfile scripts