@Override public DocumentTranslationMap write(ExportedDocument doc) throws IOException { File file = new File(getDestination() + File.separator + doc.getPath().toString()); if (!file.mkdirs()) { throw new IOException("Cannot create target directory: " + file.getAbsolutePath());