Rest api

I’m using mAirList 8.0.8 Professional Studio. My background script loads, but the compiler reports Unknown type 'TextFile'. Which file I/O classes or functions are supported by the Pascal scripting engine in mAirList 8? I’d like to write a simple text file and later extend the REST API with a custom endpoint.