Switched from shelling out to rm to the file module.