require directory and sub directories and return all of them as array
Requiring all files/directories in given path and returning an array.