Deletes dupicate files.
Code enhancements