Done for every file that is read

In haste, i hard coded the filename. now made it for every file.