look for lock file