Renamed getPath to getFilename.