~str -> &Path