protected String createTempLocalFile(String fileName, String fileExt, List<String> content) throws Exception {
		File tmpFile = File.createTempFile( fileName, fileExt);
		tmpFile.deleteOnExit();
		BufferedWriter bw = new BufferedWriter(new FileWriter(tmpFile));
		for (String line : content){
			bw.write(line);
		}
		bw.close();
		return tmpFile.getAbsolutePath();
	}