update snmpscan so that it does not create empty file