This gets rid of redundant checks and centralizes the logic of loading the config files so that we don't have to keep doing the same thing in multiple places.