Use standards
Standard files and protocols should always be a primary choice. Using standards improves the interoperability of your software, thereby improving its usefulness.
Exchange formats
Examples include Unicode W3C, OGN, NetCDF, etc.
Protocols
Examples include HTTP, TCP, TLS, etc.