Wraps file contents with specified server rendered React component.