just use find to find files, much clearer