Download and open ".xls" files

Hi everyone,
I’m trying to download and open “.xls” files in android using Capacitor and Quasar.
Following my methods for write and read “.pdf” files :

async writeFile(fileName,data) {
    return await Filesystem.writeFile({
      path: fileName,
      data: data,
      directory: Directory.Data,
      // encoding: Encoding.UTF8,
      recursive: false

async openFile(res, fileName) {
    let uri = '/data/user/0/com.myapp/files/';//res.uri.replace('file://','');
    let fOpts = {
      filePath: uri+fileName,
      openWithDefault: true

Can I use same methods for “.xls” files?

Thank you!