add sensor data file operation function