generalized to include any path beginning with forward slash, will append to root if its longer then 1 character