public static @NotNull XmlFileHeader parseHeaderWithException(final VirtualFile file) throws IOException {
    try (InputStream stream = file.getInputStream()) {
      return parseHeader(new MyXMLReader(stream));
    }
  }
public static @NotNull XmlFileHeader parseHeaderWithException(final VirtualFile file)