I think you forgot to receive the path from your case statement :)