[minor] Add the fragment template as a separate file.