I am calling a function - "buildFileTree" and I am saving its response into data which is constant:
const data = this.buildFileTree(dataObject, 0);