const through = require('through2');
module.exports = function (string) {
return through.obj(function (file, enc, callback) {
if (file.contents.toString().includes(string)) {
this.push(file);
}
return callback();
});
};