Removing the energy_file finding code.