Create Distance_sensor_to_text_file