get client directory recursively