Pull out pattern content into its own file.