path = new File(path).getAbsolutePath();
    FileStore(String path, SessionID sessionID, boolean syncWrites) throws IOException {        this.syncWrites = syncWrites;        if (path == null) {            path = ".";        }        String sessionId = sessionID.getBeginString() + "-" + sessionID.getSenderCompID() + "-"                + sessionID.getTargetCompID();        if (sessionID.getSessionQualifier() != null && !sessionID.getSessionQualifier().equals("")) {            sessionId += "-" + sessionID.getSessionQualifier();        }        String prefix = FileUtil.fileAppendPath(path, sessionId + ".");        msgFileName = prefix + "body";        headerFileName = prefix + "header";        seqNumFileName = prefix + "seqnums";        sessionFileName = prefix + "session";        File directory = new File(msgFileName).getParentFile();        if (!directory.exists()) {            directory.mkdirs();        }        initialize(false);    }