pathfinder in separate file