Actually restrict to folder given as parameter