System A - create files, where the name of file includes the message and the priority of it.
System B - check files, find file with the biggest priority, save info about messages and delete file.
Saving info about messages, that were successfully read: ./../../../messagesGot.txt
Folder to save files, where name of file is a message with priority: ./../../../FILES