private CostData ReadAzureCostDataFile(string costDataPath)
        {
            TextReader reader = null;

            try
            {
                XmlSerializer deserializer = new XmlSerializer(typeof(CostData));
                reader = new StreamReader(@costDataPath);
                object   obj     = deserializer.Deserialize(reader);
                CostData XmlData = (CostData)obj;
                return(XmlData);
            }
            catch (InvalidOperationException ioe)
            {
                var message = String.Format("Error Reading the Azure Cost Data File{0}", ioe);
                throw ioe;
            }
            finally
            {
                reader.Close();
            }
        }
 public ApplicationConfiguration(string settingsFile, string costDataFile)
 {
     AzurePublishData = ReadAzurePublishSettingsFile(settingsFile);
     AzureCostData    = ReadAzureCostDataFile(costDataFile);
 }