double checking unklocking of file