code: public static ArchivePath getPathForClassloaderResource(String resourceName) {
          String extractedPath = null;
          if (resourceName.lastIndexOf('/') != -1) {
              extractedPath = resourceName.substring(0, resourceName.lastIndexOf('/'));
          }
          return new BasicPath(extractedPath);
      }
docs: Helper to extract a ClassloaderResources path information. <br/>
  <br/>
  ie: /user/test/file.properties = /user/test/
  
  @param resourceName
  The name of the resource
  @return A Path representation of the give resource