added 'duplicate' check

If files are the same (according to `cmp`) then move the duplicate file
to the trash