Put sensor data in a file

Does this help here