protected void writeHDFSContent(FileSystem fs, Path dir, String fileName, List<String> content) throws IOException {
		FSDataOutputStream out = fs.create(new Path(dir, fileName));
		for (String line : content){
			out.writeBytes(line);
		}
		out.close();
	}