public void CreateReferenceFile(string referenceFileOutputPath)
        {
            var result = _scanner.Scan();

            var jsonObject = JsonConvert.SerializeObject(result, _formatting);

            File.WriteAllText(referenceFileOutputPath, jsonObject);
        }
 public void CreateReferenceFile(string referenceFileOutputPath)
 {
     using (var f = new StreamWriter(referenceFileOutputPath))
     {
         foreach (var fsEntry in _scanner.Scan())
         {
             f.WriteLine(fsEntry.Path);
         }
     }
 }