`rm` can take a list, so pass the list instead of using `each`.