paths cannot be nil or empty strings