clean match file