set -f flag to remove to avert a nonzero exit code from rm