void StoreScanDataFile(IProgressStatus monitor, string file, AddinDescription config) { // Save a binary data file next to the scanned file var scanDataFile = file + ".addindata"; database.SaveDescription(monitor, config, scanDataFile); var md5 = Util.GetMD5(scanDataFile); scanDataIndex.Files.Add(new AddinScanData(file, md5)); }