cleanup mapfileparser