TooManyResultsException added
added ls limited detailed to check if resource type is dir having no
problem with TOO_MANY_RESULTS issue