add helper to load config from file