private void appendingMessageOn(File file, String msg) {
		FileWriter fileWriter = null;
		try {
			fileWriter = new FileWriter(file, true);
			fileWriter.append("\n\n").append(msg);
		} catch (IOException e) {
			LOGGER.error("Error during appending validation messages", e);
		} finally {
			IOUtils.closeQuietly(fileWriter);
		}
	}
Validate script.

@param base                 working directory
@param script               script file
@param eventSynchronisation condition for event synchronization
@param securityEnabled      if security is set or not.
@param hostString           hostString
@param timeout              timeout in sec.
@return File which stores validation result.
ngrinder-core/src/main/java/net/grinder/engine/agent/LocalScriptTestDriveService.java