I attempted the following code:
this.item = this.params.get('filename');
console.log("[INFO] Opening File: >" + this.item + "<");
this.textboxContent = this.file.readAsText(this.file.dataDirectory, this.item);
console.log("[INFO] Content of textboxContent: >" + this.textboxContent + "<");
However, the logcat output shows:
[INFO:CONSOLE(56865)] "[INFO] Content of textboxContent: >[object Promise]<"
The value of this.item is:
[INFO:CONSOLE(56863)] "[INFO] Opening File: >SomeFile.txt<"