dirname was used.