public static Command createUpdateFileCommand(Path fileToUpdate,String textToPutIntoFile,String replacementPattern,NodeConfig node) throws IOException {
  return createCommand(getUpdateFileCommand(fileToUpdate,textToPutIntoFile,replacementPattern,true),node);
}

public static Command createUpdateFileCommand ( Path fileToUpdate , String textToPutIntoFile , String replacementPattern , NodeConfig node ) throws IOException { return createCommand ( getUpdateFileCommand ( fileToUpdate , textToPutIntoFile , replacementPattern , true ) , node ) ; }
update existed text in the file on node , or append it to the end of the file if replacement pattern doesn ' t find any occurrences .
