Changed way qr code is fethed from directory