Adjusted parameter loading from file.