fix KillAllFiles for src and xml