/// <summary>
        /// Loads the specified file name.
        /// </summary>
        /// <param name="fileName">Name of the file.</param>
        public void Load(string fileName)
        {
            try
            {
                // Create a file stream object
                FileStream file = File.OpenRead(fileName);

                // Start Serialization
                XmlSerializer xmlSerializer
                    = new XmlSerializer(this.environmentVariable.GetType());
                this.environmentVariable
                    = (EnvironmentVariable)xmlSerializer.Deserialize(file);

                file.Close();
            }
            catch (Exception ex)
            {
                throw ex;
            }
        }