get files recursively in a directory