Fix filename parameter and change name snippet to QRcode