added CSV file output for long uniques