If you use Environment.NewLine it means the format is different on Windows and Linux. Are you sure that's the case?