Add variable to test duplicate

Try to use another variable to test for duplicate in the file with
lesser data.