public FaultyFSDirectory(System.IO.FileInfo dir) { fsDir = FSDirectory.Open(dir); lockFactory = fsDir.GetLockFactory(); }