Added duplicate file removal routine.