hdfpath argument handling