code: function writeEntities(subFolder) {
    for (let i = 0, entityNames = Object.keys(configuration.entities); i < entityNames.length; i++) {
      const filePath = path.join(subFolder, toFilePath(entityNames[i]));
      const entity = updateChangelogDate(filePath, configuration.entities[entityNames[i]]);
      fs.writeFileSync(filePath, JSON.stringify(entity, null, 4));
    }
  }
docs: Writes entities in a sub folder.
  @param subFolder the folder (to create) in which the JHipster entity folder will be.