Only read file once in extension examples.