when "set -e", rm(1) must be run with -f