adds pattern/ folder.