Use folder reference instead of listing all files