fixed small bug in network scanning script which allowed non-network files to be evaluated.