Managed only

Let met know if you think a singleton with a destructor would be better than closing the file handle on appdomain exit.