Abstract out a path