code: @Override
      public Process importProcess(File from) throws IOException {
          try {
              Process process = new Process();
              String name = from.getName();
              int lastDot = name.lastIndexOf('.');
              if (lastDot > 0 && lastDot < name.length() - 1)
                  name = name.substring(0, lastDot);
              process.setName(name);
              process.setAttribute(Display.NAME, "x=25,y=25,w=0,h=0");
              MxGraphParser graph = importGraph(new FileInputStream(from));
              process.setActivities(graph.getActivities());
              process.setTransitions(graph.getTransitions());
              if (!graph.getTextNotes().isEmpty()) {
                  process.setTextNotes(graph.getTextNotes());
              }
              return process;
          }
          catch (SAXException | ParserConfigurationException ex) {
              throw new IOException(ex.getMessage(), ex);
          }
      }
docs: TODO: handle compressed files