title: Get filename and extension from an absolute path
body: <p>In an Ant buildfile I have a path stored in an Ant property: <code>${file}</code>.</p>
  
  <p>How can I get just the filename and extension without the full path?</p>