added code to remove transient in lactate files