lf and ldir