file splitting and xml