docs: public static Project readProject(String argument) throws IOException {
          String projectFileName = argument;
  
          File projectFile = new File(projectFileName);
  
          if (projectFileName.endsWith(".xml") || projectFileName.endsWith(".fbp")) {
              try {
                  return Project.readXML(projectFile);
              } catch (SAXException e) {
                  IOException ioe = new IOException("Couldn't read saved FindBugs project");
                  ioe.initCause(e);
                  throw ioe;
              }
          }
          throw new IllegalArgumentException("Can't read project from " + argument);
      }