Added getPathComponents(path)