Add file output to temperature sensing