adopt checkFolder function
modify getFiles
test array push
Revert "test array push"

ok

This reverts commit ae5cbe8f4a88cc52c20960d340d55dcdfa78246f.
test code
test code
dict - direct