cleans menu file