title: Path functions available to Jelly script?
body: <p>I'd like to be able to do things like separate the <em>directory</em> and <em>file</em> name from a full path in Hudson/Jenkins's jelly script. </p>
  
  <p>For example if I have <code>/dir1/dir2/dir3/file.ext</code> I'd like to (in jelly script) get access to <code>/dir1/dir2/dir3</code> and <code>file.ext</code>.</p>
  
  <p>Are the java io functions like getPath() and getName() available to jelly script?</p>