Create/read/write on .txt file virtual root dir .NET app

Hi!
Similarly to a Web app’s Filesystem API, I would like to know if there exists a similar API for virtual directory and files managing for .NET applications. The target is to write some logs into a .txt file created inside a virtual(or physical) directory inside the target TV device, and then read these logs and print them out in the console.

Thank you in advance,
M. Politis