Add method to config for loading a .yaml or .conf file and return a Perl DS.