Add comment about ‘header_line_constant'
Generate an empty file for writing with filename
Make corrections to values used in ‘header_line'
Write ‘header_line’ to file
Make correction to ‘data_line’ object creation
Use conditional to add commas for every record except last
Remove vector items in data_line if height < 0
Write data lines to file