Revise NumericDataCsvWriter class
Extract file writing method to utility class