code: function createNewFileByContents(file, newContents) {
  
    var newFile = file.clone()
  
    newFile.contents = newContents
  
    return newFile
  }
docs: Returns a new file from the given file and contents.
  @param {Vinyl} file The input file
  @param {Buffer|Stream} newContents The new contents for the file