Case statement error

Maybe because it appears all you're doing is to print a pathname.