better xml parsing / now saves to csv