/// <summary>
        /// Configures component by passing configuration parameters.
        /// </summary>
        /// <param name="config">configuration parameters to be set.</param>
        public void Configure(ConfigParams config)
        {
            if (config == null || !config.ContainsKey("path"))
            {
                throw new ConfigException(null, "NO_PATH", "Data file path is not set");
            }

            Path = config.GetAsString("path");
        }