Added code to load crypto key from configuration file.