public void writeFiles(IFile tlaFile,IFile cfgFile,IProgressMonitor monitor) throws CoreException {
  tlaBuffer.append(ResourceHelper.getModuleClosingTag());
  cfgBuffer.append(ResourceHelper.getConfigClosingTag());
  ResourceHelper.replaceContent(tlaFile,tlaBuffer,monitor);
  ResourceHelper.replaceContent(cfgFile,cfgBuffer,monitor);
}

public void writeFiles ( IFile tlaFile , IFile cfgFile , IProgressMonitor monitor ) throws CoreException { tlaBuffer . append ( ResourceHelper . getModuleClosingTag ( ) ) ; cfgBuffer . append ( ResourceHelper . getConfigClosingTag ( ) ) ; ResourceHelper . replaceContent ( tlaFile , tlaBuffer , monitor ) ; ResourceHelper . replaceContent ( cfgFile , cfgBuffer , monitor ) ; }
write the content to files
