public TextFilterWriter(string path) { file = new FileInfo(path); temp = new TempFile(); writer = new StreamWriter(temp.File.Open(FileMode.Create, FileAccess.Write, FileShare.Read)); }