Trim added to menu file generation