adding the lock file