Modified the energy and time elapsed files to work in rmc.