* move config file loading into its own function