modified from_path to use a parent