--- a/src/internfile/internfile.h
+++ b/src/internfile/internfile.h
@@ -82,6 +82,9 @@
      */
     static bool getEnclosing(const string &url, const string &ipath,
 			     string &eurl, string &eipath, string& udi);
+
+    /** Return last element in ipath, like basename */
+    static std::string getLastIpathElt(const std::string& ipath);
 
     /** Constructors take the initial step to preprocess the data object and
      *  create the top filter */