Added support for loading the configuration fields from a file.