It will work, but I recommend buying a block of Pepper Jack (Monterey Jack and Cheddar will also work) and shredding it on a large-hole grater. Packaged pre-shredded cheese contains an anti-caking agent which makes it less melty. Using shredded block cheese melts and tastes better.