Improved printing to file

Print board + routes in one file.