File locking added

Change-Id: I46794de45fbc61611309f7b9934cba19338b0c50