code: async function getSubtitles (file) {
    const filename = path.parse(file).name
    return getSubtitlesByFilename(filename)
  }
docs: Get subtitles for the given file.
  
  @param {string} file - path to a file
  @returns {Promise<string>} the subtitles, formatted as .srt