Abstraction for file system operations to enable testing without actual file I/O.
StreamWriter CreateStreamWriter(string path, bool append)
Creates a StreamWriter for the specified file path.
void CreateDirectory(string path)
Creates all directories in the specified path.
string GetDirectoryName(string path)
Gets the directory name from a file path.