file lock test