guard against no files matching the in subfolders

Fix #5