Fixing incorrect tabbing to allow for CSV generation

The script was not working as desired, i.e., only generating one instance of data in resulting output file, rather than iterating through entire log file. Culprit determined to be incorrect indentation for two lines (i.e., should be included in the while loop)

Minor fix to correct the indentation error.