FileLock design