Inspector logs Nullpointer if file deletion fails since the return value of the file deletion is used in the error handler.