Update file and header checkboxes when the last not-yet-checked item is checked.