stripping duplicates in file with