added method getDirectoryListing