shortesh path written to file