Made take() ignore hidden files