static String filePath(String appDirectory, {int? workerIndex}) { return p.join(appDirectory, relativePath(workerIndex: workerIndex)); }