// Now retrieve the size of created file and read it completely
file_size = MSG_file_get_size(file);
MSG_file_seek(file, 0, SEEK_SET);
// Now retrieve the size of created file and read it completely
file_size = MSG_file_get_size(file);
MSG_file_seek(file, 0, SEEK_SET);