added xml reader and writer and extended filter functionality to filter by xpath.