this.locks.put(file.getAbsolutePath(), lock);
}
}
Sync sync = lock.readLock();
try {
sync.acquire();
try {
String content = IOUtils.deserializeString(file);
return content.getBytes();
} catch (IOException io) {
this.getLogger().warn("Exception during reading of content from " + file, io);