public string LoadFromFile(string filePath)
        {
            var saved = BinarySerializationAssistor.Deserialize(filePath);

            AllFiles  = saved.Duplicates;
            _Criteria = saved.Settings;
            return(saved.SelectedPath);
            //SerializableDictionary<string, List<DuplicateFile>> tmp = new SerializableDictionary<string, List<DuplicateFile>>();
            //tmp.ReadXml(XmlReader.Create(new FileStream(filePath, FileMode.Open)));
            //Duplicates = tmp;
        }
 public DuplicateCollector(string pRootFolder, CriteriaSettings pCriteria)
     : this()
 {
     _RootFolder = pRootFolder;
     _Criteria   = pCriteria;
 }