yeah ive sorted the other issue by just looping through the files