clean mapping file