private Path writeToPatchContent() throws Exception {
    if (getPatchMap().containsKey(etag)) {
      return Files.write(getPath(), getPatchMap().get(etag));
    }

    return Files.write(getPath(), "default content".getBytes());
  }