This actually contains a subtle bug: If `$f` contains spaces or characters the user's shell will interpret as special, it will fail as the shell gets to interpret the command before `rm` (or `sudo`) sees it.