Done for every file that is read