Added compareContents and saveCsvFile