Check for duplicated files