Include index i in main loop for 'header_line'
Add paste of data frame objects in ‘data_line’ vector