private string SearchBestMatchedMasterFileName(string fileNamePrefix)
 {
     for (ushort version = PlatformConfiguration.GetCurrentAPIVersion(); version >= 2; version--)
     {
         string fileName = string.Format("{0}-{1}.xml", fileNamePrefix, version);
         if (MasterFileStorage.IsMasterFilePresent(fileName))
         {
             return(fileName);
         }
     }
     {
         string fileName = fileNamePrefix + ".xml";
         if (MasterFileStorage.IsMasterFilePresent(fileName))
         {
             return(fileName);
         }
     }
     return(null);
 }
 private string GetExpectedMasterFileName(string fileNamePrefix)
 {
     return(string.Format("{0}-{1}.xml", fileNamePrefix, PlatformConfiguration.GetCurrentAPIVersion()));
 }