modified to include all files in all subfolders