Pastable version of Extracting directory, filename and extension from a path