get_path_parent implemented but not tested