code: async function remove(filename){
  
      // try to establish a connection to the module
      await getConnection();
  
      // remove the file
      await _nodeMcuConnector.remove(filename);
  
      // just show complete message (no feedback from nodemcu)
      _mculogger.log('File "' + filename + '" removed!');
  }
docs: removes a file from NodeMCU