change obsolete isfile to isvalid; add lock and unlock commands
1 file changed