Removes regularFiles function (superfluous now, as regular files are
implemented with matchSet).