Loading maps and results output modified to fstream