Added Distance Output file