remove unused variables

from getallprojectfiles removing an undefined variable notice