This program downloads xml files from nbs using their api and assembles data in a csv file for analysis