stefansteve1999@tg says to YSITD
爲什麼不直接require('fs').unlink(file)