class FileBasedStorage implements StorageProvider {

  @Override
  @Nonnull
  public String loadWorkLog(NetworkId network, SnapshotId snapshot, String workId)
      throws IOException {
    Path filePath = getWorkLogPath(network, snapshot, workId);
    if (!Files.exists(filePath)) {
      throw new FileNotFoundException(
          String.format("Could not find log file for work ID: %s", workId));
    }
    return readFileToString(filePath, UTF_8);
  }

  public  FileBasedStorage(
      Path baseDir, BatfishLogger logger, BiFunction<String, Integer, AtomicInteger> newBatch);
  public  FileBasedStorage(Path baseDir, BatfishLogger logger);

}