private StreamWriter OpenWriter() { string path = string.Format(CultureInfo.InvariantCulture, logFilePath, GetDateForFilename()); return File.Exists(path) ? File.AppendText(path) : File.CreateText(path); }