public void createFile(FileChunk in) {
		String filename = folderPath + in.getFileName();
		try {
			PrintWriter writer = new PrintWriter(filename, "UTF-8");
			writer.println(in.getChunk());
			writer.close();
			System.out.println("DFS: file chunk saved at " + filename);
		} catch (FileNotFoundException e) {
			e.printStackTrace();
		} catch (UnsupportedEncodingException e) {
			e.printStackTrace();
		}
	}