[code] clean redirection file