The logic above is skipping a defined field that is blank for all values on the file doesn't output the duplicate records / fields.