Emacs performs several steps to convert the data in a buffer (text,
text properties, and possibly other information) to and from a
representation suitable for storing into a file. This section describes
the fundamental functions that perform this format conversion,
insert-file-contents for reading a file into a buffer,
write-region for writing a buffer into a file.