Set type of parameter as path