eliminate global testFiles array
rename 'file' to 'path' to avoid confusion