Load configs from file