skipDuplicates is saveDuplicates in FileHistoryDao.