def release(self):
        '''Releases the currently locked file handle'''
        if self.fh:
            portalocker.unlock(self.fh)
            self.fh.close()
            self.fh = None
Releases the currently locked file handle
Solutions/CyberArkAudit/Data Connectors/.python_packages/lib/site-packages/portalocker/utils.py