Dynamic rendering based on file exts