split pathname
trace errors
default values and pathname modes