added the option to delete the file after download; related #1621