Provides a list of paths found in the given dir path from where the call is being invoked.
the list of paths found.
the path from where the list of paths will be fetched