add the help function which get full path of a relative path