started lockFile implementation