new qr file object instead of reader