@SuppressWarnings("ResultOfMethodCallIgnored")
	private void deleteLogs(File base) {
		base.listFiles(pathName -> {
			String extension = FilenameUtils.getExtension(pathName.getName());
			if (extension.startsWith("log")) {
				pathName.delete();
			}
			return true;
		});
	}
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