I don't think it's idiomatic Go to define functions this way. You'd be better off with

```
func readConfigFile(filename string) (string, error) {…}
```

Ditto for a couple more down there.