class Tracer {

    public static void saveAsCsv(Vector vec, String fmt, String filePath) throws IOException {
        String s = mkString(vec, fmt);

        Files.write(Paths.get(filePath), s.getBytes(), StandardOpenOption.CREATE, StandardOpenOption.WRITE);
    }

}