Use grunt.file.match implement the exclude method