unused code
cleanup
lock file location