added a division code to each file , writing the files is now out of the python script which grabs the info