Added check for existance of external configuration file.