init: move config filename logic into load_config