public static string FindSettingsFileInFolder(string folderPath)
{
try
{
return Directory.GetFiles(folderPath, "*.bloomCollection").First();
}
catch (Exception)
{
throw new ApplicationException(string.Format("Bloom expected to find a .bloomCollectionFile in {0}, but there isn't one.", folderPath));
}
}