private void AddHeader(IDataCollector recorder) { if (recorder != null) { streamWriter.Write(recorder.DataHeaders() + separator); } }