private void unlock(Object fl) throws IOException { if (SHARED_PROXIES) { ((FileLock) fl).unlock(); } else { ((Lock) fl).unlock(); } }