Change methods to take in a csv.Reader/Writer