Formatting string for writing to file
Formatting String for write to file