/// <summary>
        /// Constructor.
        /// </summary>
        /// <param name="filename"></param>
        public GPX11File(string filename)
        {
            try
            {
                _filename = filename;
                _gpx11 = DeserializeGPX();
                _gpxFileDetails = new GPX11FileDetails(_gpx11);

                _routes = GetRoutes();
                _tracks = GetTracks();
                _waypoints = GetWayPoints();
            }
            catch (Exception)
            {
                _isFileValid = false;
            }
        }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="file"></param>
 public GPX11FileDetails(XSD.Ver11.gpxType gpxType)
 {
     _gpxType = gpxType;
 }
 /// <summary>
 /// Constructor.
 /// </summary>
 /// <param name="file"></param>
 public GPX11FileDetails(XSD.Ver11.gpxType gpxType)
 {
     _gpxType = gpxType;
 }