I am trying to write into a file in binary format.

RFile file;
err = file.Open(fsSession, KFileName, EFileWrite | EFileStream ); //EFileStream is binary mode..
_LIT(KText,"Hello");

RFileWriteStream outputFileStream( file );
CleanupClosePushL( outputFileStream );
outputFileStream << KText;


The file is created bur when i open the file with notepad the contents are reable... Any body any idea

Thanks