Cleanup .path file