Add kudos to guy on Ben on StackOverFlow for a bit of code and the CSV idea