Added regular expression matching to sl.dir.getFilesInFolder.m