A second attempt at gettting just the parts of the filename I need