Delete energy.ngp and Reset debug ofstream