Added new arg for mean gain calc so correct file is loaded.