func LoadComponentConfig(structConfig interface{}, configFile string) {
	if _, err := os.Stat(configFile); os.IsNotExist(err) {
		log.Fatalln(configFile + " file not found")
	} else if err != nil {
		log.Fatalln(err.Error())
	}
	if _, err := toml.DecodeFile(configFile, structConfig); err != nil {
		log.Fatalln(err.Error())
	}
}
LoadComponentConfig loads a TOML configuration file and parses entries into parameter values
package dms3libs
import (
	"log"
	"os"
	"path"
	"github.com/BurntSushi/toml"
)
var LibConfig *structConfig
type structConfig struct {
	SysCommands mapSysCommands
}
type mapSysCommands map[string]string
func LoadLibConfig(configFile string) {
	if !IsFile(configFile) {
		log.Fatalln(configFile + " file not found")
	}
	if _, err := toml.DecodeFile(configFile, &LibConfig); err != nil {
		log.Fatalln(err.Error())
	}
}