fixed assets accessing in ios
changed the way of "string text" writing to stream.
added file open mode.
had the log make log.txt file.