code: async function fileExists(f) {
    debug(`fileExists called with: ${JSON.stringify(arguments)}`);
    try {
      await fs.statAsync(f);
      return f;
    } catch (e) {
      throw e;
    }
  }
docs: return filename if exists, else throw