consistent filesSrc iterator, remove unused var