Iterate over file.