hi all, what function to use in order to read and write to a file from within a callback function (specially receiving_im_msg_cb() ) in a plugin? cheers, arun