code: func ImportProperties(root string) error {
  	err := filepath.Walk(root, func(path string, info os.FileInfo, err error) error {
  		if err != nil {
  			return err
  		}
  
  		// Skip directories & unacceptable property extension
  		if info.IsDir() || !isAcceptablePropertyExtensions(info.Name()) {
  			return nil
  		}
  
  		dir, file := filepath.Split(path)
  		appKey := parseDirectoryName(dir)
  		LoggingClient.Debug(fmt.Sprintf("dir: %s file: %s", appKey, file))
  		props, err := readPropertiesFile(path)
  		if err != nil {
  			return err
  		}
  
  		registryConfig := types.Config{
  			Host:       Configuration.Registry.Host,
  			Port:       Configuration.Registry.Port,
  			Type:       Configuration.Registry.Type,
  			Stem:       Configuration.GlobalPrefix + "/",
  			ServiceKey: appKey,
  		}
  
  		Registry, err = registry.NewRegistryClient(registryConfig)
  		for key := range props {
  			if err := Registry.PutConfigurationValue(key, []byte(props[key])); err != nil {
  				return err
  			}
  		}
  		return nil
  	})
  
  	if err != nil {
  		return err
  	}
  	return nil
  }
docs: // Import properties files for support of legacy Java services.