class ZMSFileChangeLogStoreCommon {

    public synchronized void put(String name, byte[] data) {

        File file = new File(rootDir, name);
        if (!file.exists()) {
            setupDomainFile(file);
        }

        try {
            filesHelper.write(file, data);
        } catch (IOException ex) {
            error("unable to save file: " + file.getPath() + " error: " + ex.getMessage());
        }
    }

    public  ZMSFileChangeLogStoreCommon(final String rootDirectory);

}