while (!stopNow) {
try {
SortedProperties sp = new SortedProperties();
if (file.exists()) {
InputStream in = IOUtils.openFileInputStream(file.getName());
sp.load(in);
translation.putAll(sp);
} else {
OutputStream out = IOUtils.openFileOutputStream(file.getName(), false);
sp.putAll(translation);
sp.store(out, "Translation");