code: private static InternetHeaders getManifestProperties(File manifest) {
          final InternetHeaders result = new InternetHeaders();
          if (null == manifest) {
              LOGGER.debug("Manifest file not found.");
          } else {
              try (InputStream in = new BufferedInputStream(new FileInputStream(manifest))) {
                  result.load(in);
              } catch (MessagingException | FileNotFoundException e) {
                  LOGGER.warn(e.getMessage(), e);
              } catch (IOException ex) {
                  LOGGER.warn(ex.getMessage(), ex);
              }
          }
          return result;
      }
docs: Reads the manifest entries from the provided file.
  
  @param manifest the manifest
  @return the manifest entries