public void open(Path path) {
		try {
			if (!Files.exists(path))
				path = Files.createFile(path);
			writer = Files.newBufferedWriter(path, charset);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}