Poor man's path expansion