Allow specification of pathname