FileLock not working