added method for requesting database directory