Middleware file delete added