Replaced Environment.NewLine with _fileSystem.NewLine