Adding media pattern template file