Lists the contents of a directory
The directory to list
If true, each directory will be traversed recursively and return all descendants of the parent directory