Updated write file code with proper indentation (#19212)
* Updated write file code with proper indentation Updated with proper style match and indentation * Update index.md
This commit is contained in:
* Updated write file code with proper indentation Updated with proper style match and indentation * Update index.md