Refactor logic for writing to a CSV into its own method.
Refactor logic for writing to a CSV into its own method.

saescapa/meta,paked/meta,ssun098/meta,paked/meta,hackedu/meta,saescapa/meta,hackedu/meta,ssun098/meta