Split tokens on underscores in path and extension