receiving info from file for maze