JosiahYoder
New Contributor III

Or, to be more readable:

dbutils.fs.rm(fileprefix+".tmp",recurse=true)