Added logging on every file.