Added ability to accept either String or Reader as csv-input