Nice idea. How can you offer entire between the file has been deleted and the file doesn't exist ?
Let say the network is disconnected for some reason. There is no way to tell whether the function deleted or could not delete.
Hence the timer would keep trying to deleted already deleted file and get into an finite loop. Did I miss something here?