working on therm file