This is a S60 example demonstrating how to write and read from a file.
Click on the following link to download the example: BinaryFile.zip
Click browse to view the example code.
RFs, Rfile.
RFs
Menu options are available to write and read from a file.