added xml folder generation/reading