Adding pattern files