Loads profile from configuration file.

Error Thrown if the configuration file couldn't be found, or if the specified profile can't be found.