global fileLock fileLock = threading.Lock()