first version of shell script to create csv file