Prune duplicate file