delete contents from sensor file when there are more than 25 vales in file