add the ability to save sensor's information in .csv file