Split up patterns into separate files.