That's because we had a function for each file and passed in the function