bugs in LFile fixed