Added include empty directories option to listRecursively