first version of python script prints the header from the data file