code: private String getFileName(String possiblyPathName) {
          possiblyPathName = possiblyPathName.substring(possiblyPathName.lastIndexOf('/')+1);
          possiblyPathName = possiblyPathName.substring(possiblyPathName.lastIndexOf('\\')+1);
          return possiblyPathName;
      }
docs: Strip off the path portion if the given path contains it.