scanFolder now takes in a QUrl