in reply to using a set variable in system or exec
system "rm /storage/filename${date}_more_filename.csv"; [download]