add method to list only remote directories