public Mail read(MailName mailName) throws QueueStorageException {
try {
File propertiesFile = new File(dir, mailName.envelopeFileName());
InputStream propertiesStream = new FileInputStream(propertiesFile);
DataProperties properties = new DataProperties();
try {
properties
.load(new InputStreamReader(propertiesStream, "UTF-8"));
} catch (UnsupportedEncodingException e) {
throw new RuntimeException(e); // impossible
} finally {
propertiesStream.close();