adds server-side example with dynamic file generation