code: public static List<SVGPath> loadSVGIconFromFile(final File file) throws CouldNotPerformException {
          try {
              if (!file.exists()) {
                  throw new NotAvailableException(file.getAbsolutePath());
              }
              return generateSvgPathList(FileUtils.readFileToString(file, StandardCharsets.UTF_8));
          } catch (final Exception ex) {
              throw new CouldNotPerformException("Could not load path File[" + file + "]", ex);
          }
      }
docs: Method tries to build one or more SVGPaths out of the passed file.
  By this the file content is interpreted as svg xml and new SVGPath instances are generated for each found path element
  
  @param file the svg xml file
  
  @return a list of SVGPaths instances where each is representing one found path element
  
  @throws CouldNotPerformException is thrown if the file does not exist or it does not contain any path elements.