in reply to How do I extract a file name from a path string
$data[$#data] [download]
Originally posted as a Categorized Answer.