Imported the function to get a full path and basename
Wrong pointer frred, what?