I/O function for files holding structured data, such as JSON and XML files.
