There is an individual folder for each address on the file system which stores messages in multiple files. These files which store the messages are called page files. Each file contains messages up to the maximum configured message size (
The system navigates the page files as needed and removes the page files as soon as all messages in the page were received by client.
Consumers with selectors will also navigate through the page files and it will ignore messages that do not match the criteria.