Fix bug 919464 - Add habitat support for loading config from file