correct / in parent_path for local files