creating a script to loop through csv file to create file and then add conetnt in the files