Remove redundant name from outfile