+/** @addtogroup msg_file_management
+ * \htmlonly <!-- DOXYGEN_NAVBAR_LABEL="Files" --> \endhtmlonly
+ * (#msg_file_t) and the functions for managing it.
+ *
+ * \see #msg_file_t
+ */
+
+/********************************* File **************************************/
+
+/** \ingroup msg_file_management
+ * \brief Read elements of a file
+ *
+ * \param ptr buffer to where the data is copied
+ * \param size of each element
+ * \param nmemb is the number of elements of data to read
+ * \param stream to read
+ * \return the number of items successfully read
+ */
+size_t MSG_file_read(void* ptr, size_t size, size_t nmemb, msg_file_t stream)
+{
+ return simcall_file_read(ptr, size, nmemb, stream->simdata->smx_file);
+}
+
+/** \ingroup msg_file_management
+ * \brief Write elements into a file
+ *
+ * \param ptr buffer from where the data is copied
+ * \param size of each element
+ * \param nmemb is the number of elements of data to write
+ * \param stream to write
+ * \return the number of items successfully write
+ */
+size_t MSG_file_write(const void* ptr, size_t size, size_t nmemb, msg_file_t stream)