GetDirectoryAndName.Rd
Function to split the path into the directory name (without the last folder) and name which is created from the last folder.
GetDirectoryAndName(path)