add lockf.c/tree.sh