reads temperature sensor file, stores in db