docs: private static String getFileNameInPath(String path) {
          String fName;
          if (path.indexOf('/') != -1) {
              fName = path.substring(path.lastIndexOf('/') + 1);
          } else {
              fName = path;
          }
          return fName;
      }