Added support for temporary file management
Implemented IDisposable