use &* slicing syntax
use os::split_paths()