Changed get on folder to a query