(name v.s 'a') is it possible?

I literally gave you a solution that takes a string and gives you a pathname.

I really don't know what more you want.