hmm - I do the same check on scanFiles() below ...