Remove opt energy file between scan steps