Added the ability to load configurations from a file