fixed usage in help
added option to read or write .json files other than dupes.json