Added readwritelocks.
Strange file deleted.