code: function (data) {
                  if (data.result && $.isArray(data.result.files)) {
                      return data.result.files;
                  }
                  return [];
              }
docs: Callback to retrieve the list of files from the server response: