public T Read()
        {
            if (!File.Exists(_filePath))
            {
                return(new T());
            }

            var serializer = new XmlSerializationHelper <T>();

            try
            {
                return(serializer.ReadFromFile(_filePath));
            }
            catch (Exception e)
            {
                _msg.WarnFormat("Error reading options from file: {0}", e.Message);

                return(new T());
            }
        }
        public void Write(T settings)
        {
            var serializer = new XmlSerializationHelper <T>();

            serializer.SaveToFile(settings, _filePath);
        }