code: function translateUrl (url) {
    const RE = new RegExp('^[./]');
    if (RE.test(url)) {
      const fileUrl = 'file://' + path.join(process.cwd(), url);
      console.log('Relative filename detected -- translating to ' + fileUrl);
      return fileUrl;
    } else {
      return url;
    }
  }
docs: handle relative file name