Semi-hosting to use File operations on DS-5

I want to perform file operations like fopen, fread, fwrite etc in DS-5 IDE. Currently using redirect I can use printf and redirect the print on UART terminal.

How to perform file operations in my application?