hainp: fix read config from file

Gui-config reads configuration from file.