Updated error handling, added ReadStrFile which output a config file to a map[string]string.