initial iteration through all of the files