some improvements for the exclusion txt file which is used to set up the smartGrid and smartScan