rename middleware file