code: private String getNameOfFolderPackages(String filePath) {
          File file = new File(filePath);
          String nameWithExtension = file.getName();
          int indexLastDot = nameWithExtension.indexOf(Constants.DOT);
          if (indexLastDot > -1) {
              return nameWithExtension.substring(0, indexLastDot);
          } else {
              return nameWithExtension;
          }
      }
docs: /* --- Private methods ---